[fpc-pascal] FPCUnit/DUnit: How abort all other tests?
Marcos Douglas B. Santos
md at delfire.net
Mon Jul 24 14:13:32 CEST 2017
On Sat, Jul 22, 2017 at 9:35 PM, Graeme Geldenhuys
<mailinglists at geldenhuys.co.uk> wrote:
> On 2017-07-22 21:50, Marcos Douglas B. Santos wrote:
>>
>> I would like to know if there is a way to abort all other test and an
>> specific one fail. I mean, if some "special tests" fail, will be a
>> waste of time to continue.
>
>
> There is such functionality in FPTest (the DUnit2 fork for Free Pascal).
> Take a look at the EarlyExitCheck() check procedure. For more detailed
> information, read the docs/DUnit2Description.html page in the repository,
> and then jump to the "Summary Level Checks" section.
>
> FPTest (and DUnit2 from SF.net) are backwards compatible with DUnit v9.4,
> but also has many more improvements and features.
Thank you.
Best regards,
Marcos Douglas
More information about the fpc-pascal
mailing list