[fpc-pascal] FPCUnit - parallel test suite execution

Marcos Douglas md at delfire.net
Thu Mar 19 03:54:15 CET 2015


On Wed, Mar 18, 2015 at 2:04 PM, Graeme Geldenhuys
<mailinglists at geldenhuys.co.uk> wrote:
> As per good unit test guidelines, tests should be independent of each
> other and not rely on results from earlier tests. The perfect candidate
> for parallelism. So what about the idea of running x amount of test
> suites in parallel? It should at least give our multi-core CPU's
> something to do and maybe complete 2000+ tests in a shorter period. ;-)
>
> Thoughts?

Maybe a new class named TTestCaseAsync, ie, all test cases that
inherit it will run in parallel.

Marcos Douglas



More information about the fpc-pascal mailing list