[Gambas-user] New component gb.test

Benoît Minisini g4mba5 at gmail.com
Wed May 23 11:31:40 CEST 2018


Le 23/05/2018 à 08:24, Christof Thalhofer a écrit :
> 
> I doubt that testing in separate multiple processes (one per test) is
> even necessary. I think it disturbs flexibility and/or makes all much
> more complicated. 
> 

I think it *is* necessary to run tests in separate processes, even if it 
is slower, because any test can have side effects that can disturb other 
tests.

Quitting or aborting a test process will free any system resource used 
by the test automatically and reliably, eliminating most of the possible 
side effects.

Regards,

-- 
Benoît Minisini


More information about the User mailing list