Parallelized test execution
Assuming there are no globals, you can most likely run multiple test cases in parallel. Also useful when searching for shrinks... gotta be a lot faster?
I notice there is a patch in the queue. Has progress been delayed?
That patch is for race condition testing, not for increasing test case throughput.
It's a work in progress but it's not an effort by me personally so I can't speak on the time frame.
@fire: The race condition testing should be feature complete, but I need to finish writing the documentation first, and some more tests are needed as well. Been away for a couple of weeks but I hope I will be able to work on this the comming weeks.
If you want to try it out you can use this example as a starting point: https://gist.github.com/furuholm/aac7f1d2d6fc6500118b.
You need to change two things to run parallel tests:
- Change your Commands to use the overload of the run function that looks like this
std::function<void(const ModelT&)> run(Sut &sut) const - Use rc::state::checkParallel instead of rc::state::check
Sorry, I was busy and was not able to try.