features/gurke/other_reporter.feature in gurke-2.4.2 vs features/gurke/other_reporter.feature in gurke-3.0.0
- old
+ new
@@ -2,11 +2,10 @@
As a developer
In order to adjust the output to my requirements (e.g. inside a CI)
I want to pass a command line argument to change the reporter
Background:
- Given I am in a project using gurke
And a file "features/test.feature" with the following content exists
"""
Feature: F
Scenario: Scenario A
Given this is a success
@@ -19,17 +18,17 @@
end
Gurke.configure{|c| c.include TestSteps }
"""
Scenario: Use the default reporter without addition arguments
- When I execute "bundle exec gurke"
+ When I run the tests
Then the program output should not include "##teamcity"
Scenario: Use specified reporter when run with --formatter
- When I execute "bundle exec gurke --formatter team_city"
+ When I run the tests with "--formatter team_city"
Then the program output should include "##teamcity[testStarted name='Scenario A']"
Then the program output should include "##teamcity[testFinished name='Scenario A']"
Scenario: Use specified reporter when run with -f
- When I execute "bundle exec gurke -f team_city"
+ When I run the tests with "-f team_city"
Then the program output should include "##teamcity[testStarted name='Scenario A']"
Then the program output should include "##teamcity[testFinished name='Scenario A']"