Reputation: 3275
Can you run tests in a single Test class in parallel (per method)?
I am setting parallel execution with
test {
maxParallelForks = 2
}
sample test
public class MyTest {
@org.junit.Test
public void testOne() {}
@org.junit.Test
public void testTwo() {}
}
but it works only with multiple classes.
Upvotes: 2
Views: 5310
Reputation: 14500
There is no support for this in Gradle, the finest level of parallelisation is at the test class level.
Upvotes: 4