public class SerenityParameterizedRunner extends org.junit.runners.Suite implements net.thucydides.core.tags.Taggable
| Constructor and Description |
|---|
SerenityParameterizedRunner(Class<?> klass)
Only called reflectively.
|
SerenityParameterizedRunner(Class<?> klass,
DriverConfiguration configuration,
WebDriverFactory webDriverFactory,
net.thucydides.core.batches.BatchManager batchManager)
Test runner used for testing purposes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generateReports() |
protected List<org.junit.runner.Runner> |
getChildren() |
List<org.junit.runner.Runner> |
getRunners() |
int |
getThreadCountFor(Class<?> klass) |
void |
run(org.junit.runner.notification.RunNotifier notifier) |
boolean |
runTestsInParallelFor(Class<?> klass) |
void |
subscribeReporter(net.thucydides.core.reports.AcceptanceTestReporter reporter) |
childrenInvoker, classBlock, classRules, collectInitializationErrors, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, isIgnored, order, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolationpublic SerenityParameterizedRunner(Class<?> klass, DriverConfiguration configuration, WebDriverFactory webDriverFactory, net.thucydides.core.batches.BatchManager batchManager) throws Throwable
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 testingThrowable - - cause anything can happen!public boolean runTestsInParallelFor(Class<?> klass)
public int getThreadCountFor(Class<?> klass)
protected List<org.junit.runner.Runner> getChildren()
getChildren in class org.junit.runners.Suitepublic void run(org.junit.runner.notification.RunNotifier notifier)
run in class org.junit.runners.ParentRunner<org.junit.runner.Runner>public void generateReports()
public void subscribeReporter(net.thucydides.core.reports.AcceptanceTestReporter reporter)
public List<org.junit.runner.Runner> getRunners()
Copyright © 2023. All rights reserved.