mardi 27 octobre 2015

(PHP project) (Unit Test Success) (not displayed])

The "Unit Test Success" is not displayed for my PHP project after successful analysis.

I use : SonarQube : 5.1 -- PHP Plugin : 2.5 -- PHPUnit : 4.7.6

I first run PHPUnit (with --coverage-xml and --coverage-clover options) and then run sonar (with -Dsonar.php.coverage.reportPath and -Dsonar.php.tests.reportPath and also with -Dsonar.tests specifying tests source directory).

On SonarQube, the "Unit Tests Coverage" is displayed with "Line coverage" but unfortunately, without "Unit Test Success".

I’ve read many forums about this problem but the only way I found is to set “sonar.tests” variable that I’ve already done.

Thanks for your help.

Best regards,

Wognin

Aucun commentaire:

Enregistrer un commentaire