View Javadoc

    1   package org.example.customerdao.testsuites;
    2
    3   import org.example.customerdao.CustomerDAOFastTests;
    4   import org.example.customerdao.CustomerDAOSlowTests;
    5   import org.example.customerdao.OrderDAOFastTests;
    6   import org.example.customerdao.OrderDAOSlowTests;
    7   import org.example.customerdao.ProductDAOFastTests;
    8   import org.example.customerdao.ProductDAOSlowTests;
    9   import org.example.customerdao.SupplierDAOFastTests;
    10  import org.example.customerdao.SupplierDAOSlowTests;
    11  import org.example.customerdao.testcategories.SmokeTest;
    12  import org.junit.experimental.categories.Categories;
    13  import org.junit.experimental.categories.Categories.IncludeCategory;
    14  import org.junit.runner.RunWith;
    15  import org.junit.runners.Suite.SuiteClasses;
    16
    17  @RunWith(Categories.class)
    18  @IncludeCategory(SmokeTest.class)
    19  @SuiteClasses({
    20      CustomerDAOFastTests.class,
    21      CustomerDAOSlowTests.class,
    22      SupplierDAOFastTests.class,
    23      SupplierDAOSlowTests.class,
    24      ProductDAOFastTests.class,
    25      ProductDAOSlowTests.class,
    26      OrderDAOFastTests.class,
    27      OrderDAOSlowTests.class
    28      })
    29  public class AllSmokeTests
    30  { }