Annotation Type WithComponents


Marks a test class as running under Talend Component Kit context and makes available ComponentsHandler as a test injection.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    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:
      {}