com.atlassian.jira.functest.framework.suite
Class WebTestSuiteRunner
java.lang.Object
org.junit.runner.Runner
com.atlassian.jira.functest.framework.suite.WebTestSuiteRunner
- All Implemented Interfaces:
- org.junit.runner.Describable
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
Methods inherited from class org.junit.runner.Runner |
testCount |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
webTestSuiteClass
protected final Class<?> webTestSuiteClass
suite
protected final WebTestSuite suite
testPackage
protected final String testPackage
testClasses
protected final Set<Class<?>> testClasses
WebTestSuiteRunner
public WebTestSuiteRunner(Class<?> webTestSuiteClass)
throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
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
protected Iterable<WebTestListener> 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 interface org.junit.runner.Describable
- Specified by:
getDescription
in class org.junit.runner.Runner
run
public void run(org.junit.runner.notification.RunNotifier notifier)
- Specified by:
run
in class org.junit.runner.Runner
suite
public final WebTestSuite suite()
Copyright © 2002-2012 Atlassian. All Rights Reserved.