-
Notifications
You must be signed in to change notification settings - Fork 17
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
Don't rely on phpunit/php exit code in CI #550
Comments
Investigated the reports and found that the xml report is not reliable on phpunit 5.7.x - it will not list warnings :'( PHPUNIT 5.7.x allows also for json and teamcity reports, which would include warnings. |
Some more findings - |
Annoyingly - junit from phpunit is also not "proper" junit xml - it will have
|
As talked - only important for us is to know in the end if we encountered: When |
Some time ago in another universe I started to work on a parser in go to parse the junitxml and then return exit code 0 || >0 Would probably 0.5-1md to pick it up and create a small drone plugin to finish it. ( Or write it in another language || research if there is a parser in php? ) Maybe investigate https://github.com/RazeSoldier/JUnitLogParser and create a little phar tool that we can utilize for it? |
@phil-davis @individual-it |
Better evaluate the report xml
see https://github.com/owncloud/core/blob/54cd970b0adf4cc08362aeb0e9876d999d7bd255/build/autotest.sh#L342 how to generate
using xml tools the number of failed/errored unit tests can easily be determined
The text was updated successfully, but these errors were encountered: