@Singleton public class Junit extends java.lang.Object implements TestFeature
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ARTIFACT_ID_JUNIT_JUPITER_API |
protected static java.lang.String |
ARTIFACT_ID_JUNIT_JUPITER_ENGINE |
protected static java.lang.String |
ARTIFACT_ID_MICRONAUT_TEST_JUNIT_5 |
protected static Dependency |
DEPENDENCY_JUNIT_JUPITER_API |
protected static Dependency |
DEPENDENCY_JUNIT_JUPITER_ENGINE |
protected static Dependency |
DEPENDENCY_MICRONAUT_TEST_JUNIT5 |
protected static java.lang.String |
GROUP_ID_JUNIT_JUPITER |
Constructor and Description |
---|
Junit() |
Modifier and Type | Method and Description |
---|---|
void |
doApply(GeneratorContext generatorContext) |
java.lang.String |
getName()
The name of the feature.
|
TestFramework |
getTestFramework() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply, getOrder, isJunit, isKoTest, isKotlinTestFramework, isSpock, isVisible, shouldApply, supports
getCategory, getDescription, getMicronautDocumentation, getThirdPartyDocumentation, getTitle, isCommunity, isPreview, processSelectedFeatures
protected static final java.lang.String GROUP_ID_JUNIT_JUPITER
protected static final java.lang.String ARTIFACT_ID_JUNIT_JUPITER_API
protected static final java.lang.String ARTIFACT_ID_JUNIT_JUPITER_ENGINE
protected static final java.lang.String ARTIFACT_ID_MICRONAUT_TEST_JUNIT_5
protected static final Dependency DEPENDENCY_JUNIT_JUPITER_API
protected static final Dependency DEPENDENCY_JUNIT_JUPITER_ENGINE
protected static final Dependency DEPENDENCY_MICRONAUT_TEST_JUNIT5
@NonNull public java.lang.String getName()
Feature
public void doApply(GeneratorContext generatorContext)
doApply
in interface TestFeature
public TestFramework getTestFramework()
getTestFramework
in interface TestFeature