com.atlassian.jira.functest.framework.suite
Class WebTestRunners

java.lang.Object
  extended by com.atlassian.jira.functest.framework.suite.WebTestRunners

public final class WebTestRunners
extends Object

Factory of web test runners. Web test runners wrap any parent runner with a transforming runner that applies filtering and sorting by web test category (for given web test suite instance), as well as batching of the underlying tests.

Since:
v4.4

Method Summary
static
<T> org.junit.runners.ParentRunner<T>
newRunner(WebTestSuite suite, org.junit.runners.ParentRunner<T> runner)
           
static
<T> org.junit.runners.ParentRunner<T>
newRunner(WebTestSuite suite, org.junit.runners.ParentRunner<T> runner, com.google.common.base.Predicate<org.junit.runner.Description> splittable)
           
static org.junit.runners.ParentRunner<org.junit.runner.Runner> newRunner(WebTestSuite suite, org.junit.runners.model.RunnerBuilder runnerBuilder, Class<?>... classes)
           
static org.junit.runners.ParentRunner<org.junit.runner.Runner> newRunner(WebTestSuite suite, org.junit.runners.model.RunnerBuilder runnerBuilder, com.google.common.base.Predicate<org.junit.runner.Description> splittable, Class<?>... classes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newRunner

public static <T> org.junit.runners.ParentRunner<T> newRunner(WebTestSuite suite,
                                                              org.junit.runners.ParentRunner<T> runner,
                                                              com.google.common.base.Predicate<org.junit.runner.Description> splittable)
                                                   throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError

newRunner

public static <T> org.junit.runners.ParentRunner<T> newRunner(WebTestSuite suite,
                                                              org.junit.runners.ParentRunner<T> runner)
                                                   throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError

newRunner

public static org.junit.runners.ParentRunner<org.junit.runner.Runner> newRunner(WebTestSuite suite,
                                                                                org.junit.runners.model.RunnerBuilder runnerBuilder,
                                                                                com.google.common.base.Predicate<org.junit.runner.Description> splittable,
                                                                                Class<?>... classes)
                                                                         throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError

newRunner

public static org.junit.runners.ParentRunner<org.junit.runner.Runner> newRunner(WebTestSuite suite,
                                                                                org.junit.runners.model.RunnerBuilder runnerBuilder,
                                                                                Class<?>... classes)
                                                                         throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError


Copyright © 2002-2011 Atlassian. All Rights Reserved.