org.apache.tools.ant.taskdefs.optional.junitlauncher

## Interface TestExecutionContext

-     public interface TestExecutionContext

  A `TestExecutionContext` represents the execution context for a test that has been launched by the `JUnitLauncherTask` and provides any necessary contextual information about such tests.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Optional<Project>` | `getProject()`
    `java.util.Properties` | `getProperties()`

- - ### Method Detail

    - #### getProperties

          java.util.Properties getProperties()

      Returns:
        Returns the properties that were used for the execution of the test

    - #### getProject

          java.util.Optional<Project> getProject()

      Returns:
        Returns the `Project` in whose context the test is being executed. The `Project` is sometimes not available, like in the case where the test is being run in a forked mode, in such cases this method returns `an empty value`