Package com.soebes.itf.jupiter.extension
Annotation Type MavenProjectSources
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Inherited
@API(status=EXPERIMENTAL,
since="0.12.0")
public @interface MavenProjectSources
Control the need to provide projects in the
default project setup directory `resources-its`
or provide them on your own.
- Author:
- Karl Heinz Marbaise
-
Nested Class Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThe source structure looks like this:This is by default empty which means the location will be calculated based on the given integration test class + the method name and/or a nested class.
-
Element Details
-
resourcesUsage
MavenProjectSources.ResourceUsage resourcesUsageThe source structure looks like this:src/test/resources-its/.../ +--- FirstIT/ +--- test_case_one +--- src/... +--- pom.xml
The content of the directory `test_case_one` is required to execute an integration tests. If you have a situation where you don't provide the test project via this you can turn that off viaresourcesUsage()
=MavenProjectSources.ResourceUsage.NONE
. Doing will require to provide a project setup on your own. This can be done what ever comes into your mind. The easiest way to make such setup is to us the setup via `@BeforeEach
`.- Default:
- DEFAULT
-
sources
String sourcesThis is by default empty which means the location will be calculated based on the given integration test class + the method name and/or a nested class.- Returns:
- The location where to find the source project.
- Default:
- ""
-