Class WebTestSuiteRunner
java.lang.Object
org.junit.runner.Runner
com.atlassian.jira.functest.framework.suite.WebTestSuiteRunner
- All Implemented Interfaces:
org.junit.runner.Describable
- Direct Known Subclasses:
EnvironmentAwareSuiteRunner
,LocalSuiteRunner
public abstract class WebTestSuiteRunner
extends org.junit.runner.Runner
A JUnit4 runner for JIRA web tests suite. Given a
WebTestSuite
implementation class it instantiates it and gathers information necessary to create a delegate runner that will
run all the tests in the suite.- Since:
- 4.3
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected final WebTestSuite
protected final String
protected final Class<?>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract org.junit.runner.Runner
Override this method to create the runner that will perform actual test run.org.junit.runner.Description
protected Iterable<WebTestListener>
A list of listeners to apply for this suitevoid
run
(org.junit.runner.notification.RunNotifier notifier) final WebTestSuite
suite()
Methods inherited from class org.junit.runner.Runner
testCount
-
Field Details
-
PACKAGE_SEPARATOR
- See Also:
-
webTestSuiteClass
-
suite
-
testPackage
-
testClasses
-
-
Constructor Details
-
WebTestSuiteRunner
public WebTestSuiteRunner(Class<?> webTestSuiteClass) throws org.junit.runners.model.InitializationError - Throws:
org.junit.runners.model.InitializationError
-
-
Method Details
-
delegateRunner
protected abstract org.junit.runner.Runner delegateRunner()Override this method to create the runner that will perform actual test run.- Returns:
- delegate runner for the suite of web test classes
-
listeners
A list of listeners to apply for this suite- Returns:
- list of listeners
-
getDescription
public org.junit.runner.Description getDescription()- Specified by:
getDescription
in interfaceorg.junit.runner.Describable
- Specified by:
getDescription
in classorg.junit.runner.Runner
-
run
public void run(org.junit.runner.notification.RunNotifier notifier) - Specified by:
run
in classorg.junit.runner.Runner
-
suite
-