[fpc-pascal] FPCUnit - parallel test suite execution

Michael Van Canneyt michael at freepascal.org
Thu Mar 19 08:18:26 CET 2015

On Wed, 18 Mar 2015, Marcos Douglas wrote:

> 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.

I think this is maybe the best approach.


More information about the fpc-pascal mailing list