-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge of junit logs is not working. #20
Comments
Hi @mtamazlicaru, Thank you for your report. I need some more information to reproduce and fix the problem. Can you provide some more information or share your xml files? |
Unfortunately I am not able to share the xml files. I can share the structure of xml file: <?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="" tests="833" assertions="2198" errors="0" warnings="0" failures="0" skipped="0" time="2.508270">
<testsuite name="unit" tests="833" assertions="2198" errors="0" warnings="0" failures="0" skipped="0" time="2.508270">
<testsuite name="App\Tests\Unit\Client\XYZTest" file="/server/project/tests/Unit/Client/XYZTest.php" tests="6" assertions="22" errors="0" warnings="0" failures="0" skipped="0" time="0.024950">
<testcase name="testXYZ" class="App\Tests\Unit\Client\XYZTest" classname="App.Tests.Unit.Client.XYZTest" file="/server/project/tests/Unit/Client/XYZTest.php" line="38" assertions="2" time="0.017373"/>
</testsuite>
</testsuite>
</testsuite>
</testsuites>
I will try to reproduce on a different project the issue then I will come back with more details. Some packages that I am using:
|
Hi @mtamazlicaru, please check again the issue described in the pull-request: #19 (comment) Maybe yours is the same reason and the pr will fix it as well? |
Hi @mtamazlicaru, could you already check the fix and did it solve your issue as well? I've found a couple of more issues and would be happy to contribute all my fixes. |
Hi @thirsch, sorry I didn't managed yet to test the fix. I will come with an update as soon I manage to test it. Thank you. |
Hi, thanks for the package and for sharing it.
I have a problem when I try to merge junit logs that where generate in .xml files. Command that I execute
php -d memory_limit=512M vendor/bin/phpunit-merger log locallog merged-log.xml
as a result I have the following xml file:Thank you.
The text was updated successfully, but these errors were encountered: