public class JUnitCategoryWrapper extends Object
strictMode=true editor=true server=true client=Only Unit Tests annotated by both "editor" and "server" will run.
showSkippedClasses=true editor=true server= client=
editor= server= client=All Unit Tests will run.
editor=true server=false client=falseOnly "editor" Unit Tests will run.
editor=true server=true client=Only "editor" or "server" Unit Tests will run.
editor= server= client=falseAll Unit Tests except "client" Unit tests will run.
strictMode=true editor=true server=true client=Only Unit Tests annotated by both "editor" and "server" will run.
org.mdiutils.junit.resources
and its name must be categories.properties
.Modifier and Type | Field and Description |
---|---|
static List<org.junit.runners.model.FrameworkMethod> |
EMPTY_LIST |
static String |
ENV_CATEGORIES
The name of the categories environment variable.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getCategories() |
Set<String> |
getExcludedCategories() |
static JUnitCategoryWrapper |
getInstance()
Return the JUnit tests categories which will be allowed to run.
|
boolean |
isShowingSkippedClasses() |
boolean |
isStrict() |
public static final String ENV_CATEGORIES
public static final List<org.junit.runners.model.FrameworkMethod> EMPTY_LIST
public boolean isShowingSkippedClasses()
public boolean isStrict()
public static JUnitCategoryWrapper getInstance()