Package org.talend.sdk.component.junit5
Annotation Type WithComponents
@Target(TYPE)
@Retention(RUNTIME)
@ExtendWith(ComponentExtension.class)
public @interface WithComponents
Marks a test class as running under Talend Component Kit context
and makes available ComponentsHandler as a test injection.
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
You can isolate some packages during the test.
-
Element Details
-
value
- Returns:
- the package containing the component(s).
-
-
-
isolatedPackages
You can isolate some packages during the test. Note that in the context of a test this can have side effects so ensure to know what you are doing.- Returns:
- the package laoded from their own classloader.
- Default:
- {}
-