/cucumber-express

BDD with Cucumber.js and Express

Primary LanguageJavaScript

#BDD with Cucumber.js and Express

Application demonstrates how to test with Cucumber.js

Tested application taken from freshly generated Express app using express-generator

Application is browsed using zombie

##Intallation

npm install

##Tested features

See features/*.feature files

##Run Cucumber tests

npm test

##Results

Feature: Open main page

    As a user of Express framework
    I want to have ability to see working sceleton of the app
    So that I can concentrate on building awesome applications

  Scenario: Reading main title                    # features/mainExpressPage.feature:6
    Given I am on Express generated site          # features/mainExpressPage.feature:7
    When I go to the main page                    # features/mainExpressPage.feature:8
    Then I should see "Express" as the page title # features/mainExpressPage.feature:9
1 scenario (1 passed)
3 steps (3 passed)
0m00.763s