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.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]
isolatedPackages
You can isolate some packages during the test.
-
-
-
-
isolatedPackages
String[] 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:
- {}
-
-