liuggio / fastest

Simple parallel testing execution... with some goodies for functional tests.
MIT License
473 stars 65 forks source link

JUnit not all features are reported in the results file #126

Open calinipate opened 6 years ago

calinipate commented 6 years ago

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"?>

`

When running with behat, both feature files are reported in the xml: `<?xml version="1.0" encoding="UTF-8"?>

`

ac-dc commented 5 years ago

I have the same issue. Possible workaround is this one vendor/bin/fastest --rerun-failed "php -f vendor/bin/behat -- --format=progress --out=std --format=junit --out=.report_{p}_{n}"