Skip to content
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

PHPUnit Logging #34

Closed
binarious opened this issue Jun 22, 2015 · 2 comments
Closed

PHPUnit Logging #34

binarious opened this issue Jun 22, 2015 · 2 comments

Comments

@binarious
Copy link
Contributor

We're logging our testresults as junit xml files:
phpunit.xml:

<logging>
    <log type="junit" target="build/phpunit/junit.xml" logIncompleteSkipped="false"/>
</logging>

But since we're using fastest, the junit.xml file gets overwritten for each test and therefore does not contain the results of the tests that ran before the last one.
Is there any kind of workaround?

@liuggio
Copy link
Owner

liuggio commented Jun 22, 2015

mmmm you may use a custom param like --log-junit /tmp/logfile{p}.xml {p} is the custom process id and is automatically filled....
just an idea I never tried

@binarious
Copy link
Contributor Author

I've thought of that, too. Since this is just a side effect of this library I'll close this ticket. But I'll also publish my solution here when I found one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants