title: How to run test in parallel (per test) using Gradle and JUnit
body: <p>Can you run tests in a single Test class in parallel (per method)? </p>
  
  <p>I am setting parallel execution with</p>
  
  <pre><code>test {
    maxParallelForks = 2
  }
  </code></pre>
  
  <p>sample test</p>
  
  <pre><code>public class MyTest {
      @org.junit.Test
      public void testOne() {}
  
      @org.junit.Test
      public void testTwo() {}
  }
  </code></pre>
  
  <p>but it works only with multiple classes.</p>