-
-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Incorrent xml output if I use the dataProvider in tests #19
Comments
Awesome thanks for bringing this up. I'll take a look into this. Any issue noticed with running against a directory? |
No, I haven't noticed anything unusual yet. |
has any ideas when this bug will be fixed? |
I can confirm this bug still exists with version 0.12.0 of paratest. |
Also experiencing this |
Yes, I'd like to vote for this bug as well. Any tips wrt. when this bug will be fixed? |
Or, how it could be fixed. |
A partly fix is on the way with PR #185 |
About the "testsuite" elements containing child "testsuite" elements, @drefixs brought up some infos here: #185 (comment) Any opinions on this? Trying to get a fix in all maintained phpunit versions (I think the best we would get is a fix in the next major version because of BC) / adding a flag to produce "wrong" junit logs / ... |
Jenkins has a separate parser for junit xml logs from PHPUnit. If we can 2015-11-18 0:08 GMT+01:00 Julian Seeger notifications@github.com:
Tarjei Huse |
@tarjei Are you see any testsuite into testsuite ? jenkins can parse it but other CI system can't. |
Seems to be fixed. If anyone disagrees, please open a new issue with new infos what's good and whats missing. |
I think this issue continues #10.
If I use dataProvider in tests I get incorrect xml output (it different from standard phpunit). The difference is that phpunit output has another
<testsuite>
tag and testsuite has a different attribute name. See example below.Code example:
vendor/bin/phpunit --log-junit=phpunit-junit.xml SimpleTest.php
vendor/bin/paratest -p 1 --phpunit=vendor/bin/phpunit --log-junit=paratest-junit.xml SimpleTest.php
The text was updated successfully, but these errors were encountered: