title: Maven/Surefire finds no tests to run
body: <p>As far as I can tell, the test files location is correct.</p>
  
  <p>When I run "mvn test", it finds four classes named SomethingTest (they are located in the 'test' folder).</p>
  
  <p>However, it ignores any of the jUnit tests (jUnit 4, annotated with @Test).</p>
  
  <p>How do I debug this?</p>
  
  <p><strong>Edit</strong> - this is probablly related to wrong version of jUnit being included. I see this when running "mvn -X"</p>
  
  <pre><code>[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus:pom:1.0.4 for project: org.codehaus.plexus:plexus-containers:pom:1.0.3 from the repository.
  [DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:runtime (selected for runtime)
  [DEBUG]         junit:junit:jar:3.8.1:runtime (selected for runtime)
  [DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - nearer found: 1.4.1)
  [DEBUG]         classworlds:classworlds:jar:1.1-alpha-2:runtime (selected for runtime)
  </code></pre>
  
  <p>Even though my first dependency in the root pom is on jUnit 4.8.1, for some reason jUnit 3.8.1 is being included.</p>
  
  <p><strong>Edit 2</strong> - ok, this doesn't seem to be the answer. The Test Classpath includes the correct jUnit (4) and my test classes.</p>
  
  <p><strong>Edit 3</strong> - I had the test classes named SomethingTester. When I changed it to SomethingTest, it worked. I checked the include patterns for Surefire, and indeed it wasn't configured to catch Something Tester. Doh.</p>