Created
September 9, 2012 21:34
-
-
Save jbpros/3687452 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jbpros@arwen:~/Projects/cucumber-js ‣ cucumber.js -f pretty | |
Feature: Asynchronous failing steps | |
Scenario: see asynchronously failing scenarios | |
Given the following feature: | |
And the step "I divide 10 by 0" has a mapping asynchronously failing with the message "Divide by 0, uh?" | |
When Cucumber runs the feature | |
Then the scenario called "a failing scenario" is reported as failing | |
Scenario: see asynchronously failing scenarios with exception | |
Given the following feature: | |
And the step "I divide 10 by 0" has a mapping asynchronously failing through an exception with the message "Divide by 0, uh?" | |
When Cucumber runs the feature | |
Then the scenario called "a failing scenario" is reported as failing | |
Feature: Asynchronous pending steps | |
Scenario: Pending step means the scenario is pending | |
Given a scenario with: | |
And the step "I add 4 and 5" has an asynchronous pending mapping | |
And the step "the result is 9" has a passing mapping | |
When Cucumber executes the scenario | |
Then the scenario is pending | |
And the step "the result is 9" is skipped | |
Feature: Background | |
Scenario: One scenario and a background | |
Given the following feature: | |
And the step "a background step" has a passing mapping | |
And the step "a scenario step" has a passing mapping | |
Segmentation fault: 11 | |
jbpros@arwen:~/Projects/cucumber-js ‣ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment