Class EnvironmentAwareSuiteRunner
java.lang.Object
org.junit.runner.Runner
com.atlassian.jira.functest.framework.suite.WebTestSuiteRunner
com.atlassian.jira.webtest.webdriver.setup.EnvironmentAwareSuiteRunner
- All Implemented Interfaces:
EnvironmentAware,org.junit.runner.Describable
Runner based on cargo environment data instance.
- Since:
- 4.4
-
Field Summary
Fields inherited from class com.atlassian.jira.functest.framework.suite.WebTestSuiteRunner
PACKAGE_SEPARATOR, suite, testClasses, testPackage, webTestSuiteClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.junit.runner.RunnerOverride this method to create the runner that will perform actual test run.protected Iterable<WebTestListener> A list of listeners to apply for this suitevoidsetEnvironmentData(JIRAEnvironmentData environmentData) Methods inherited from class com.atlassian.jira.functest.framework.suite.WebTestSuiteRunner
getDescription, run, suiteMethods inherited from class org.junit.runner.Runner
testCount
-
Constructor Details
-
EnvironmentAwareSuiteRunner
public EnvironmentAwareSuiteRunner(Class<?> webTestSuiteClass) throws org.junit.runners.model.InitializationError - Throws:
org.junit.runners.model.InitializationError
-
-
Method Details
-
delegateRunner
protected org.junit.runner.Runner delegateRunner()Description copied from class:WebTestSuiteRunnerOverride this method to create the runner that will perform actual test run.- Specified by:
delegateRunnerin classWebTestSuiteRunner- Returns:
- delegate runner for the suite of web test classes
-
setEnvironmentData
- Specified by:
setEnvironmentDatain interfaceEnvironmentAware
-
listeners
Description copied from class:WebTestSuiteRunnerA list of listeners to apply for this suite- Overrides:
listenersin classWebTestSuiteRunner- Returns:
- list of listeners
-