@Singleton public class Spock extends java.lang.Object implements TestFeature
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ARTIFACT_ID_GROOVY_ALL |
protected static java.lang.String |
ARTIFACT_ID_SPOCK_CORE |
protected static Dependency |
DEPENDENCY_MICRONAUT_INJECT_GROOVY |
protected static Dependency |
DEPENDENCY_MICRONAUT_TEST_SPOCK |
protected static Dependency |
DEPENDENCY_SPOCK_CORE_EXCLUDING_GROOVY_ALL |
protected static java.lang.String |
GROUP_ID_CODEHAUS_GROOVY |
protected static java.lang.String |
GROUP_ID_SPOCKFRAMEWORK |
Constructor and Description |
---|
Spock() |
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_SPOCKFRAMEWORK
protected static final java.lang.String ARTIFACT_ID_SPOCK_CORE
protected static final java.lang.String GROUP_ID_CODEHAUS_GROOVY
protected static final java.lang.String ARTIFACT_ID_GROOVY_ALL
protected static final Dependency DEPENDENCY_MICRONAUT_INJECT_GROOVY
protected static final Dependency DEPENDENCY_MICRONAUT_TEST_SPOCK
protected static final Dependency DEPENDENCY_SPOCK_CORE_EXCLUDING_GROOVY_ALL
@NonNull public java.lang.String getName()
Feature
public void doApply(GeneratorContext generatorContext)
doApply
in interface TestFeature
public TestFramework getTestFramework()
getTestFramework
in interface TestFeature