PHP why not multiple PHPUnit unit test execution report files (sonar.php.tests.reportPathS)?

Hi,

According to documentation Test execution parameters

It is possible to define a single file for PHPUnit unit test execution report.

Why it is not possible to allow multiple files using “sonar.php.tests.reportPaths”, as it is possible for other languages?

Thanks

Hello @Emilien_Escalle and welcome to the community!

Indeed, we only allow a single test report file for PHPUnit. I don’t see a strict reason not to allow multiple files, but this is something that should be implemented in the analyzer. I created a ticket to modify this, you can monitor the progress here.

Best,

Peter

1 Like