-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into prevent_cucumber_ym…
…l_being_read_twice Conflicts: lib/cucumber/cli/options.rb
- Loading branch information
Showing
11 changed files
with
569 additions
and
83 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Feature: Pretty output formatter | ||
|
||
Background: | ||
Given a file named "features/scenario_outline_with_undefined_steps.feature" with: | ||
""" | ||
Feature: | ||
Scenario Outline: | ||
Given an undefined step | ||
Examples: | ||
|foo| | ||
|bar| | ||
""" | ||
|
||
Scenario: an scenario outline, one undefined step, one random example, expand flag on | ||
When I run cucumber "features/scenario_outline_with_undefined_steps.feature --format pretty --expand " | ||
Then it should pass | ||
|
||
Scenario: when using a profile the output should include 'Using the default profile...' | ||
And a file named "cucumber.yml" with: | ||
""" | ||
default: -r features | ||
""" | ||
When I run cucumber "--profile default --format pretty" | ||
Then it should pass | ||
And the output should contain: | ||
""" | ||
Using the default profile... | ||
""" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Feature: Progress output formatter | ||
|
||
Background: | ||
Given a file named "features/scenario_outline_with_undefined_steps.feature" with: | ||
""" | ||
Feature: | ||
Scenario Outline: | ||
Given an undefined step | ||
Examples: | ||
|foo| | ||
|bar| | ||
""" | ||
|
||
Scenario: an scenario outline, one undefined step, one random example, expand flag on | ||
When I run cucumber "features/scenario_outline_with_undefined_steps.feature --format progress --expand " | ||
Then it should pass | ||
|
||
Scenario: when using a profile the output should include 'Using the default profile...' | ||
And a file named "cucumber.yml" with: | ||
""" | ||
default: -r features | ||
""" | ||
When I run cucumber "--profile default --format progress" | ||
Then it should pass | ||
And the output should contain: | ||
""" | ||
Using the default profile... | ||
""" | ||
|
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
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
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
Oops, something went wrong.