Interface TestExecutionContext
- All Known Implementing Classes:
InVMExecution
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
-
Method Details
-
getProperties
Properties getProperties()- Returns:
- Returns the properties that were used for the execution of the test
-
getProject
- Returns:
- Returns the
Project
in whose context the test is being executed. TheProject
is sometimes not available, like in the case where the test is being run in a forked mode, in such cases this method returnsan empty value
-