fpc/packages/fcl-fpcunit/src
2015-09-05 11:21:36 +00:00
..
demo/consolerunner
example_output
example_xsl
exampletests * updated all the remaining makefiles that 'fpcmake -r' missed 2015-09-05 11:21:36 +00:00
tests * updated all the remaining makefiles that 'fpcmake -r' missed 2015-09-05 11:21:36 +00:00
consoletestrunner.pas * Sparse and SkipAddressInfo 2015-03-29 10:28:16 +00:00
digesttestreport.pp
DUnitCompatibleInterface.inc * Patch from Graeme Geldenhuys to move FailNotEquals to main interface 2015-03-24 13:40:56 +00:00
fpcunit.pp * Fixed typo, part 2 (bug 27789) 2015-04-06 07:08:46 +00:00
fpcunitreport.pp * Sparse and SkipAddressInfo 2015-03-29 10:28:16 +00:00
fpmake.inc
fpmake.pp
latextestreport.pp * For large times, use [[hh:]nn:]ss date/time format 2014-07-30 14:53:37 +00:00
plaintestreport.pp * Sparse and SkipAddressInfo 2015-03-29 10:28:16 +00:00
README.txt
testdecorator.pp
testregistry.pp * Add RegisterTests in suite 2014-02-23 20:05:38 +00:00
testreport.pp
testutils.pp
ubmockobject.pp
xmlreporter.pas
xmltestreport.pp * Correct formatdatetime string 2014-07-30 14:52:42 +00:00

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.