Use JUNIT XML to build QA reports

From: Date: Sat, 25 Feb 2012 14:27:46 +0000
Subject: Use JUNIT XML to build QA reports
Groups: php.qa php.webmaster 
Request: Send a blank email to [email protected] to get a copy of this message
Hello everyone,

By reading run-tests.php source code, I can see that a JUNIT XML file can
be easily built in 'make test'.
This contains all succeeded, failed and skipped tests with diffs.

I wondered if we can modify run-tests.php to automatically build this file
each time, and when the user is asked to send report, send this XML report
as well to QA report interface. This would give us the following :
- list of succeeded tests (to know if one test is 100% failing or not)
- better diff parsing (some glitches in current implementation due to email
format when you send a qa-report).


I also would like to add a special env variable to be able to send the QA
report automatically : we would be able to have more QA reports this way
(and also add ci.qa.php.net reports too in qa.php.net/reports/ interface
easily).

Feedback welcome,

Olivier


Thread (2 messages)

« previous php.qa (#66111) next »