Package net.serenitybdd.junit.runners
Class SerenityParameterizedRunner
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runner.Runner>
org.junit.runners.Suite
net.serenitybdd.junit.runners.SerenityParameterizedRunner
- All Implemented Interfaces:
net.thucydides.model.tags.Taggable,org.junit.runner.Describable,org.junit.runner.manipulation.Filterable,org.junit.runner.manipulation.Orderable,org.junit.runner.manipulation.Sortable
@Deprecated
public class SerenityParameterizedRunner
extends org.junit.runners.Suite
implements net.thucydides.model.tags.Taggable
Deprecated.
Run a Serenity test suite using a set of data.
Similar to the JUnit parameterized tests, but better ;-).
-
Nested Class Summary
Nested classes/interfaces inherited from class org.junit.runners.Suite
org.junit.runners.Suite.SuiteClasses -
Constructor Summary
ConstructorsConstructorDescriptionSerenityParameterizedRunner(Class<?> klass) Deprecated.Only called reflectively.SerenityParameterizedRunner(Class<?> klass, net.thucydides.core.webdriver.DriverConfiguration configuration, net.thucydides.core.webdriver.WebDriverFactory webDriverFactory, net.thucydides.model.batches.BatchManager batchManager) Deprecated.Test runner used for testing purposes. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.protected List<org.junit.runner.Runner> Deprecated.List<org.junit.runner.Runner> Deprecated.intgetThreadCountFor(Class<?> klass) Deprecated.voidrun(org.junit.runner.notification.RunNotifier notifier) Deprecated.booleanrunTestsInParallelFor(Class<?> klass) Deprecated.voidsubscribeReporter(net.thucydides.model.reports.AcceptanceTestReporter reporter) Deprecated.Methods inherited from class org.junit.runners.Suite
describeChild, emptySuite, runChildMethods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, collectInitializationErrors, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, isIgnored, order, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolationMethods inherited from class org.junit.runner.Runner
testCount
-
Constructor Details
-
SerenityParameterizedRunner
public SerenityParameterizedRunner(Class<?> klass, net.thucydides.core.webdriver.DriverConfiguration configuration, net.thucydides.core.webdriver.WebDriverFactory webDriverFactory, net.thucydides.model.batches.BatchManager batchManager) throws Throwable Deprecated.Test runner used for testing purposes.- Parameters:
klass- The test class to runconfiguration- current system configuration (usually mocked)webDriverFactory- a webdriver factory (can be mocked)batchManager- a batch manager to process batched testing- Throws:
Throwable- - cause anything can happen!
-
SerenityParameterizedRunner
-
-
Method Details
-
runTestsInParallelFor
Deprecated. -
getThreadCountFor
Deprecated. -
getChildren
Deprecated.- Overrides:
getChildrenin classorg.junit.runners.Suite
-
run
public void run(org.junit.runner.notification.RunNotifier notifier) Deprecated.- Overrides:
runin classorg.junit.runners.ParentRunner<org.junit.runner.Runner>
-
generateReports
public void generateReports()Deprecated. -
subscribeReporter
public void subscribeReporter(net.thucydides.model.reports.AcceptanceTestReporter reporter) Deprecated. -
getRunners
Deprecated.
-