pierre 4226f08565 Regenerate with up-to-date fpcmake binary 12 年之前
..
demo 5b8dd4c004 * move fcl sources to separate packages 19 年之前
example_output 5b8dd4c004 * move fcl sources to separate packages 19 年之前
example_xsl 8be887e018 * Patch from Graeme Geldenhuys to improve layout of generated report 17 年之前
exampletests 4226f08565 Regenerate with up-to-date fpcmake binary 12 年之前
tests 4226f08565 Regenerate with up-to-date fpcmake binary 12 年之前
DUnitCompatibleInterface.inc 5698d75c4c * Added more Delphi-compatibility wrappers 14 年之前
README.txt 5b8dd4c004 * move fcl sources to separate packages 19 年之前
consoletestrunner.pas 914b5a41d9 * Added SkipTimings option 12 年之前
digesttestreport.pp d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 14 年之前
fpcunit.pp 518af06016 * Remove wrong lineinfo unit. It does not work with DWARF 13 年之前
fpcunitreport.pp 914b5a41d9 * Added SkipTimings option 12 年之前
fpmake.inc 5b8dd4c004 * move fcl sources to separate packages 19 年之前
fpmake.pp 5b8dd4c004 * move fcl sources to separate packages 19 年之前
latextestreport.pp 914b5a41d9 * Added SkipTimings option 12 年之前
plaintestreport.pp 914b5a41d9 * Added SkipTimings option 12 年之前
testdecorator.pp 5499e08c05 * Override EnableIgnore in TDecorator 17 年之前
testregistry.pp 2207d159d7 * Patch from Graeme Geldenhuys to easily add testsuites 18 年之前
testreport.pp 5b8dd4c004 * move fcl sources to separate packages 19 年之前
testutils.pp 8b40abdd19 * fcl-fpcunit/src/testutils.pp, GetMethodList: avoid range errors at runtime if compiled with -Cr. 13 年之前
ubmockobject.pp 5b8dd4c004 * move fcl sources to separate packages 19 年之前
xmlreporter.pas 2e1d0c07a5 * Fix compilation 12 年之前
xmltestreport.pp 6c0d61f879 * SkipTiming by Reinier 12 年之前

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.