Package net.kyori.mammoth.test
Annotation Type GradleFunctionalTest
@Documented
@TestTemplate
@Retention(RUNTIME)
@Target({METHOD,ANNOTATION_TYPE})
@ExtendWith(net.kyori.mammoth.test.GradleFunctionalTestExtension.class)
public @interface GradleFunctionalTest
Indicate that the annotated test method will be a Gradle functional test.
This annotation can be used as a meta-annotation to create a project-specific annotation specifying all customizable parameters.
The annotated method can receive a TestContext instance in its parameters to support a standard directory layout.
This directory layout follows a pattern of <test class package>/<test name>/in/ for test input files,
and <test class package>/<test name>/out/ for expected output files. Test output will be written to a temporary
directory, and deleted after test execution.
- Since:
- 1.1.0
- See Also: