legacy_features/junit_formatter.feature in cucumber-1.0.0 vs legacy_features/junit_formatter.feature in cucumber-1.0.1

- old
+ new

@@ -10,11 +10,11 @@ When I run cucumber --format junit --out tmp/ features/one_passing_one_failing.feature Then it should fail with """ """ - And "fixtures/junit/tmp/TEST-one_passing_one_failing.xml" with junit duration "0.005" should contain + And "fixtures/junit/tmp/TEST-features-one_passing_one_failing.xml" with junit duration "0.005" should contain """ <?xml version="1.0" encoding="UTF-8"?> <testsuite errors="0" failures="1" name="One passing scenario, one failing scenario" skipped="0" tests="2" time="0.005"> <testcase classname="One passing scenario, one failing scenario.Passing" name="Passing" time="0.005"> </testcase> @@ -38,11 +38,11 @@ When I run cucumber --format junit --out tmp/ features/some_subdirectory/one_passing_one_failing.feature --require features Then it should fail with """ """ - And "fixtures/junit/tmp/TEST-some_subdirectory_one_passing_one_failing.xml" with junit duration "0.005" should contain + And "fixtures/junit/tmp/TEST-features-some_subdirectory-one_passing_one_failing.xml" with junit duration "0.005" should contain """ <?xml version="1.0" encoding="UTF-8"?> <testsuite errors="0" failures="1" name="Subdirectory - One passing scenario, one failing scenario" skipped="0" tests="2" time="0.005"> <testcase classname="Subdirectory - One passing scenario, one failing scenario.Passing" name="Passing" time="0.005"> </testcase> @@ -66,11 +66,11 @@ When I run cucumber --format junit --out tmp/ features/pending.feature Then it should pass with """ """ - And "fixtures/junit/tmp/TEST-pending.xml" with junit duration "0.009" should contain + And "fixtures/junit/tmp/TEST-features-pending.xml" with junit duration "0.009" should contain """ <?xml version="1.0" encoding="UTF-8"?> <testsuite errors="0" failures="0" name="Pending step" skipped="2" tests="2" time="0.009"> <testcase classname="Pending step.Pending" name="Pending" time="0.009"> <skipped/> @@ -86,11 +86,11 @@ When I run cucumber --format junit --out tmp/ features/pending.feature --strict Then it should fail with """ """ - And "fixtures/junit/tmp/TEST-pending.xml" with junit duration "0.000160" should contain + And "fixtures/junit/tmp/TEST-features-pending.xml" with junit duration "0.000160" should contain """ <?xml version="1.0" encoding="UTF-8"?> <testsuite errors="0" failures="2" name="Pending step" skipped="0" tests="2" time="0.000160"> <testcase classname="Pending step.Pending" name="Pending" time="0.000160"> <failure message="pending Pending" type="pending"> @@ -118,12 +118,12 @@ When I run cucumber --format junit --out tmp/ features Then it should fail with """ """ - And "fixtures/junit/tmp/TEST-one_passing_one_failing.xml" should exist - And "fixtures/junit/tmp/TEST-pending.xml" should exist + And "fixtures/junit/tmp/TEST-features-one_passing_one_failing.xml" should exist + And "fixtures/junit/tmp/TEST-features-pending.xml" should exist Scenario: show correct error message if no --out is passed When I run cucumber --format junit features Then STDERR should not match """ @@ -138,10 +138,10 @@ When I run cucumber --format junit --out tmp/ features/scenario_outline.feature Then it should fail with """ """ - And "fixtures/junit/tmp/TEST-scenario_outline.xml" with junit duration "0.005" should contain + And "fixtures/junit/tmp/TEST-features-scenario_outline.xml" with junit duration "0.005" should contain """ <?xml version="1.0" encoding="UTF-8"?> <testsuite errors="0" failures="1" name="Scenario outlines" skipped="0" tests="2" time="0.005"> <testcase classname="Scenario outlines.Using scenario outlines" name="Using scenario outlines (outline example : | passing |)" time="0.005"> </testcase> \ No newline at end of file