dancryer / PHPCI

PHPCI is a free and open source continuous integration tool specifically designed for PHP.
BSD 2-Clause "Simplified" License
2.42k stars 441 forks source link

Intent to implement: An improved PHPunit result parser #1262

Closed ptejada closed 5 years ago

ptejada commented 7 years ago

The current PHPUnit plugin does a decent job but it can be improved.

The things I don't like:

The things I would like to add:

  1. Include the PHPunit output in the build log. REf: #980, mailing list.
  2. 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
  3. 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.