Jonas Maebe 6398fa484c + darwin/ppc64 support 18 years ago
..
demo 847377bf79 * Patch from Dean Zobec to fix the XMLreporter 19 years ago
example_output fe8a3dbfe7 * Moved fpcunit to inc, added testresult writers from Dean Zobec 19 years ago
example_xsl b26b3e06dd * Patch from Graeme Geldenhuys to include javascript in css/xsl 19 years ago
exampletests 6398fa484c + darwin/ppc64 support 18 years ago
tests 6398fa484c + darwin/ppc64 support 18 years ago
Makefile 6398fa484c + darwin/ppc64 support 18 years ago
Makefile.fpc 9adb91a68d + support for make -jX by marking all Makefiles that need to be executed 19 years ago
README.txt fe8a3dbfe7 * Moved fpcunit to inc, added testresult writers from Dean Zobec 19 years ago
fpcunitreport.pp fe8a3dbfe7 * Moved fpcunit to inc, added testresult writers from Dean Zobec 19 years ago
fpmake.inc cc4818be26 + initial implementation of new fpmake compile tools 20 years ago
fpmake.pp cc4818be26 + initial implementation of new fpmake compile tools 20 years ago
latextestreport.pp fe8a3dbfe7 * Moved fpcunit to inc, added testresult writers from Dean Zobec 19 years ago
plaintestreport.pp fe8a3dbfe7 * Moved fpcunit to inc, added testresult writers from Dean Zobec 19 years ago
testdecorator.pp fce57deb31 + Patch from Graeme to add DUnit compatibility interface. 19 years ago
testregistry.pp 790a4fe2d3 * log and id tags removed 20 years ago
testreport.pp dee22e8b4a * Patch from Graeme Geldenhuys 19 years ago
ubmockobject.pp 790a4fe2d3 * log and id tags removed 20 years ago
xmlreporter.pas dee22e8b4a * Patch from Graeme Geldenhuys 19 years ago
xmltestreport.pp d1f8bcc26f + public property TXMLResultsWriter.Document 18 years ago

README.txt

This is a new rewrite of the fpcunit test reports to make
fpcunit independent of the xml dom library but still provide
a good sistem of reports.
The reports are meant to be used to write the results of the tests
with the new fpc packaging system.
It produces latex and plain reports. Timing of the
executed tests is provided at the testcase and testsuite level.
Summary of the results of the contained testcases (number of
run tests, number of errors, failures and ignored tests)
is provided for each test suite.
A modified console test runner (consoletestrunner.pp)
is included that uses this new reporting classes.
Of course a separate xmltestreport class is included for those
that would like to use the xml test report through xslt to produce
more complex html reports.


The console test runner has to be used as always,
for example:

program runtests;

{$mode objfpc}{$H+}

uses
Classes, consoletestrunner,
add here the units containing your testcases;

var
App: TTestRunner;

begin
App := TTestRunner.Create(nil);
App.Initialize;
App.Title := 'FPCUnit Console runner.';
App.Run;
App.Free;
end.