title: Spring Boot maven unit tests not being executed
body: <p>I have a Spring Boot project. I have written unit tests in the .../src/test/java/... directories. All of my unit tests are of the form *Test.java. When I run 'mvn test', I get the following output:</p>
  
  <pre><code>[INFO]  
  [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ frm-api ---  
  [INFO] Changes detected - recompiling the module!  
  [INFO] Compiling 6 source files to /Users/JoelRives/Projects/fasor/fasor-service/fatality-review/target/test-classes  
  [INFO]  
  [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ frm-api ---  
  [INFO]  
  [INFO] -------------------------------------------------------  
  [INFO]  T E S T S  
  [INFO] -------------------------------------------------------  
  [INFO]   
  [INFO] Results:  
  [INFO]  
  [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0  
  [INFO]  
  </code></pre>
  
  <p>Clearly, maven sees the unit tests as it is compiling them. However, as you can see, it does not run them. </p>
  
  <p>I have the following relevant maven dependencies in my pom:</p>
  
  <pre><code>  &lt;dependency&gt;
        &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
        &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
        &lt;scope&gt;test&lt;/scope&gt;
        &lt;version&gt;1.5.3.RELEASE&lt;/version&gt;
    &lt;/dependency&gt;
  
    &lt;dependency&gt;
        &lt;groupId&gt;com.h2database&lt;/groupId&gt;
        &lt;artifactId&gt;h2&lt;/artifactId&gt;
        &lt;scope&gt;test&lt;/scope&gt;
        &lt;version&gt;1.4.194&lt;/version&gt;
    &lt;/dependency&gt;
  </code></pre>
  
  <p>My pom also includes the following plugin:</p>
  
  <pre><code>       &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.22.0&lt;/version&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.junit.platform&lt;/groupId&gt;
                      &lt;artifactId&gt;junit-platform-surefire-provider&lt;/artifactId&gt;
                      &lt;version&gt;1.3.0-M1&lt;/version&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                  &lt;groupId&gt;org.junit.jupiter&lt;/groupId&gt;
                      &lt;artifactId&gt;junit-jupiter-engine&lt;/artifactId&gt;
                      &lt;version&gt;5.2.0-M1&lt;/version&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
          &lt;/plugin&gt;
  </code></pre>
  
  <p>Any help regarding this is greatly appreciated.</p>
  
  <p>I did not show my entire POM. Here is the Junit stuff:</p>
  
  <pre><code>&lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
        &lt;version&gt;4.12&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
    &lt;/dependency&gt;
  
    &lt;dependency&gt;
        &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
        &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
        &lt;scope&gt;test&lt;/scope&gt;
        &lt;version&gt;1.5.3.RELEASE&lt;/version&gt;
    &lt;/dependency&gt;
  
    &lt;dependency&gt;
        &lt;groupId&gt;com.h2database&lt;/groupId&gt;
        &lt;artifactId&gt;h2&lt;/artifactId&gt;
        &lt;scope&gt;test&lt;/scope&gt;
        &lt;version&gt;1.4.194&lt;/version&gt;
    &lt;/dependency&gt;
  </code></pre>