@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, waitapply, getOrder, isJunit, isKoTest, isKotlinTestFramework, isSpock, isVisible, shouldApply, supportsgetCategory, getDescription, getMicronautDocumentation, getThirdPartyDocumentation, getTitle, isCommunity, isPreview, processSelectedFeaturesprotected 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()
Featurepublic void doApply(GeneratorContext generatorContext)
doApply in interface TestFeaturepublic TestFramework getTestFramework()
getTestFramework in interface TestFeature