Jump to content
Tommi Prami

Running tests in Parallel (or sub test in side one test)

Recommended Posts

Yellow,

Has anyone done parallel tests, of some kind. 

Some tests I have to run takles quite a long time, and might be nice to run those in parallel.,

In this case tests are just procedure with all code, that does something for different inputs (from predefined array etc). So in theory it would be simple, with TTask from PPL. I was just thinking what I have to take into consideration if test fails etc. I would need to use PPL, for these, sadly OTL is not possibility. 

As far as I know, there is nothing built in in the DUnitX.

-Tee-

 

Share this post


Link to post

Yellow, again...

 

Did Quick tests with PPL, seems that tested code it self did not work wery well when runniing in parallel.

Do'h

Heve to to think of this later... Code should be about thread safe, but did not cope, or at least I did not saw anything that was obviously not thhread safee and protected few spots with Critical section.

-Tee-

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×