[fpc-devel] FPCunit improvement ideas

Graeme Geldenhuys graemeg.lists at gmail.com
Wed Jan 9 11:28:12 CET 2008


Hi,

When using FPCunit with the GUI Test Runner (DUnit does this) you can
select a set of tests tests to run. You don't always have to run all
tests.

In the FPCUnit Text Test Runner it is always assumed that you want to
run *all* tests.  This is not always desired - tests should normally
run quickly, but it isn't always the case.

My proposal is to implement a feature so that selected tests can be
run under both Text and GUI test runners - and that selection saved
for the next run. For example, select tests are stored in a INI file.
On consecutive runs, the INI file is read and only the enabled tests
are executed.  If the INI file doesn't exist, all tests are run.


Any thoughts on this?  Maybe somebody got a better solution?


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-devel mailing list