title: spring-boot testing - Could multiple test share a single context?
body: <p>I created multiple spring-boot testing class, <em>(with <code>spring-boot</code> <strong>1.4.0</strong>)</em>.</p>
  
  <p><strong>FirstActionTest.java</strong>:</p>
  
  <pre><code>@RunWith(SpringRunner.class)
  @WebMvcTest(FirstAction.class)
  @TestPropertySource("classpath:test-application.properties")
  public class FirstActionTest {
      @Autowired
      private MockMvc mvc;
  
      // ...
  }
  </code></pre>
  
  <p><strong>SecondActionTest.java</strong>:</p>
  
  <pre><code>@RunWith(SpringRunner.class)
  @WebMvcTest(SecondAction.class)
  @TestPropertySource("classpath:test-application.properties")
  public class SecondActionTest {
      @Autowired
      private MockMvc mvc;
  
      // ...
  }
  </code></pre>
  
  <p>When run test via:</p>
  
  <blockquote>
    <p>mvn test</p>
  </blockquote>
  
  <p>It seems created a spring test context for each testing class, which is not necessary I guess.</p>
  
  <p><strong>The question is:</strong></p>
  
  <ul>
  <li>Is it possible to share a single spring test context among multiple testing class, and if yes, how?</li>
  </ul>