facile-it / paraunit

Run PHPUnit tests in parallel
https://engineering.facile.it/paraunit/
Apache License 2.0
133 stars 14 forks source link

Fix recap printers #241

Closed Jean85 closed 2 months ago

Jean85 commented 2 months ago

I noticed that, since Paraunit 2, the recap at the end of the execution got very long. This was due to an improper serialization of the logs, where the test name was treated as a generic Test VO instead of a specific TestMethod, where the class name is split form the method name.

This had the unintended consequence of not deduplicating the list of files, so in case an error or failure was repeated many times (i.e. with a data provider) inside the same test class, the test recap would get very long.

This fixes it, and reduces the recap verbosity.