Testing thread concurrency with Spock Testing thread concurrency with Spock multithreading multithreading

Testing thread concurrency with Spock


Spock doesn't support this out of the box. It wouldn't be so hard to write a Spock extension for it though. For inspiration, have a look at class org.spockframework.runtime.extension.builtin.TimeoutExtension.