Class AllTests

All Implemented Interfaces:
Describable, Filterable, Orderable, Sortable

public class AllTests extends SuiteMethod
Runner for use with JUnit 3.8.x-style AllTests classes (those that only implement a static suite() method). For example:
 @RunWith(AllTests.class)
 public class ProductTests {
    public static junit.framework.Test suite() {
       ...
    }
 }
 
Since:
4.0
  • Constructor Details

    • AllTests

      public AllTests(Class<?> klass) throws Throwable
      Only called reflectively. Do not use programmatically.
      Throws:
      Throwable