title: How can I use TestSuites with Junit4?
body: <p>I can't seem to find any documentation on how to do this that actually explains how to invoke the testsuite. So far I have this:</p>
  
  <pre><code>package gov.hhs.cms.nlr.test;
  
  import java.util.LinkedList;   
  import org.junit.runner.RunWith;    
  import gov.hhs.cms.nlr.test.marshalling.InquiryMarshallingTest;
  import junit.framework.Test;
  import junit.framework.TestSuite; 
  import org.junit.runner.RunWith;
  import org.junit.runners.Suite;
  
  public class AllTests {
  
      @RunWith(Suite.class)
      @Suite.SuiteClasses({
          SomeTestTest.class
          SomeOtherTest.class
      })
  
      public class AllSuites {
          // the class remains completely empty, 
          // being used only as a holder for the above annotations
      }    
  }
  </code></pre>
  
  <p>However I do not really understand how I can run this... What I want to do is take all given tests (each test, and from each Class which has Test methods) and put these all into 1 TestSuite and then invoke that.</p>
  
  <p><strong>Update</strong>: I would like to know how to run this in (<strong>1</strong>) Eclipse and (<strong>2</strong>) hudson and (<strong>3</strong>) plain java/JVM invocation (eg: <code>java ...</code>). Thank you.</p>