Emre Çelikten wrote on 29.4.2014 9:30:
> Hello,
>
> Is there a way to specify groups for test parallelization? We have a
> program that distributes tests into groups according to their completion
> times and we would like to use it with Jumi.
Hi,
What do you mean by "groups for test parallelization"? What would those
groups be and in what way would they affect how the tests are executed?
Currently Jumi runs all tests using a single thread pool, which has by
default as many threads as CPU cores. I have plans for making it
possible to disable test parallelization (e.g. by annotating the test
class) for tests that would not work in parallel.
Please tell me more about your use case, so that I can make sure whether
the current plans for parallelization configuration will fit it, or
whether they need rethinking.
> Also, is specs2 supported? I wasn't able to make Jumi run any tests,
> perhaps it was a problem on my end. Here is the configuration for sbt-jumi:
You will need to configure the specs2 classes to be runnable via JUnit:
http://etorreborre.github.io/specs2/guide/org.specs2.guide.Runners.html#Via+JUnit
Jumi has support for running JUnit tests, and through that support it
can run all testing frameworks that JUnit can run.
--
Esko Luontola
www.orfjackal.net