public enum TestFramework extends Enum<TestFramework>
Enum Constant and Description |
---|
CUSTOM
Custom test framework.
|
JUNIT
JUnit test framework.
|
JUNIT5
JUnit5 test framework.
|
SPOCK
Spock test framework.
|
TESTNG
TestNG test framework.
|
Modifier and Type | Method and Description |
---|---|
String |
getClassExtension() |
String |
getClassNameSuffix() |
String |
getIgnoreAnnotation() |
String |
getIgnoreClass() |
static TestFramework |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestFramework[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestFramework SPOCK
public static final TestFramework JUNIT
public static final TestFramework JUNIT5
public static final TestFramework TESTNG
public static final TestFramework CUSTOM
public static TestFramework[] values()
for (TestFramework c : TestFramework.values()) System.out.println(c);
public static TestFramework valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getClassExtension()
public String getClassNameSuffix()
public String getIgnoreClass()
public String getIgnoreAnnotation()
Copyright © 2016–2021 Spring. All rights reserved.