Intent to implement: An improved PHPunit result parser
ptejada opened this issue · 0 comments
ptejada commented
The current PHPUnit plugin does a decent job but it can be improved.
The things I don't like:
- The default PHPunit output with the dot on success, F on failure and so on... is suppressed and does not come up in the build log.
- Failing or test with errors show no information on why they are failing.
- The current output parser works fine but is still not perfect, there are still scenarios which causes the parser not to log anything in the Information tab and dump the TAP output to the build log.
The things I would like to add:
- Include the PHPunit output in the build log. REf: #980, mailing list.
- Replace the current plugin output parser from TAP to JSON. With the JSON output we will be able to grab and display the trace of failing tasks. More info on the different PHPunit outputs in https://phpunit.de/manual/current/en/logging.html REf: #571 , #624
- Display failing/error tests in the Error tab. Since i a m not sure why the PHPunit results are display in the Information, this suggestion is a maybe.
Additional thoughts...
The current TAP parser does not have to be replaced and the new JSON implementation can be added as an option.