title: How to speed up unit tests with less configuration
body: <p>The unit test template of jhipster is great, but sometime, especially, during coding, I need to write unit test code and run frequently. But now the unit test will start tomcat container and many other module, which I don't need if I want to test a service function.</p>
  
  <p>Now the test class is like this:</p>
  
  <pre><code>@RunWith(SpringJUnit4ClassRunner.class)
  @SpringApplicationConfiguration(classes = Application.class)
  @WebAppConfiguration
  @IntegrationTest
  @Transactional
  public class SomeClassTest {
      .....
  </code></pre>
  
  <p>How can I modify it to only initialize spring container and DB? Thanks.</p>