-
Notifications
You must be signed in to change notification settings - Fork 68
Description
I have a test suite which contains two feature files and output set to JUnit.
When running the suite with fastest, the .xml result file contains only one of the two features.
When running the suite with Behat without fastest, both features are reported to the results xml.
I am running fastest with the following line:
bin\behat --list-features --suite=api --config=../behat.yml | bin\fastest --preserve-order "bin\behat --config=../behat.yml -f progress -o std -f junit -o results {
}"
When running with fastest, only one of the feature file gets reported in the xml:
<?xml version="1.0" encoding="UTF-8"?> <testsuites name="api"> <testsuite name="API REST 4.0" tests="1" skipped="0" failures="0" errors="0"> <testcase name="Call placeOrder method in 4.0 and verify that order is complete" status="passed"></testcase> </testsuite> </testsuites>
When running with behat, both feature files are reported in the xml:
<?xml version="1.0" encoding="UTF-8"?> <testsuites name="api"> <testsuite name="API REST 5.0" tests="1" skipped="0" failures="0" errors="0"> <testcase name="Call placeOrder method and verify that order is complete" status="passed"></testcase> </testsuite> <testsuite name="API REST 4.0" tests="1" skipped="0" failures="0" errors="0"> <testcase name="Call placeOrder method in 4.0 and verify that order is complete" status="passed"></testcase> </testsuite> </testsuites>