title: Migration: JUnit 3 to JUnit 4: TestSuite
body: <p>I was recently working with JUnit 3, but I decided to migrate to JUnit 4. Now Im facing the following problem:</p>
  
  <p>I was using a TestSuite with JUnit 3, where I ran all java-Testclasses whose names matched a pattern like "*TestMe.java".</p>
  
  <p>I've got a hundred tests which were named like this.</p>
  
  <p>Now, with JUnit 4 I have to name them explicitly to call them in a TestSuite.</p>
  
  <pre><code>@RunWith(Suite.class)
  @Suite.SuiteClasses(
  {
      FirstTestMe.class,
      SecondTestMe.class,
      ThirdTestMe.class,
  
  })
  public class TestMe
  {
      /**
       * Constructor.
       */
      private TestMe()
      {
          super();
      }
  }
  </code></pre>
  
  <p>This is really uncomfortable and I possibly might forget to list some tests. Also, when I create a new one, I must add it there.</p>
  
  <p>Is there any solution how to call those Test-Classes with a Regex or something else?</p>
  
  <p>Also, one additional question: each method which is not a test, but maybe used in a test-class must be annotated with @Ignore?
  I run those test-classes without any error, so I guess it is not necessary?</p>