[fpc-devel] [patch] - fpcUnit XSLT

Vincent Snijders vsnijders at quicknet.nl
Fri Nov 24 10:10:45 CET 2006


Graeme Geldenhuys schreef:
> Hi,
> 
> Attached is a patch for the fpcUnit's example XSLT files.
> 
> Changes:
> * Grouping by Test Suites is now supported in the generated HTML
> * Cleaned up the fpcunit.css file
> * Added a navi.js file, which is the JavaScript required for the
> grouping. (Depending on others, this could be moved into the
> fpcunit.xsl file if preferred).

I am using fpcunit to check if all the snapshots are up to date:
http://www.hu.freepascal.org/lazarus/testresults/monitor.xml

I see a couple of improvements:
* Add Tests, Failures, Errors, Elapsed time for testsuites too (needs a change in 
the xmlreporter).
* Color code the test suite line (green, ok, red failures).
* Allow test suites in other testsuites. As I wrote the tests the "Snapshot on 
scenergy" test suites contains most of the following test suites. So they should be 
hidden in it, and if I click on the scenergy snapshot, they should become visible, 
just like the individual test do.
* Show the failure or error message as extra information of the test, so clicking on 
the test would show it.


What do you think of these improvements? Which ones are you willing to implement? If 
you don't do them all (in time), I will do the remaining ones.

Vincent



More information about the fpc-devel mailing list