public class SerenityParameterizedRunner
extends org.junit.runners.Suite
| Constructor and Description |
|---|
SerenityParameterizedRunner(java.lang.Class<?> klass)
Only called reflectively.
|
SerenityParameterizedRunner(java.lang.Class<?> klass,
net.thucydides.core.webdriver.Configuration configuration,
net.thucydides.core.webdriver.WebDriverFactory webDriverFactory,
net.thucydides.core.batches.BatchManager batchManager)
Test runner used for testing purposes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
generateReports() |
java.util.List<org.junit.runner.Runner> |
getRunners() |
int |
getThreadCountFor(java.lang.Class<?> klass) |
void |
run(org.junit.runner.notification.RunNotifier notifier) |
boolean |
runTestsInParallelFor(java.lang.Class<?> klass) |
void |
subscribeReporter(net.thucydides.core.reports.AcceptanceTestReporter reporter) |
public SerenityParameterizedRunner(java.lang.Class<?> klass,
net.thucydides.core.webdriver.Configuration configuration,
net.thucydides.core.webdriver.WebDriverFactory webDriverFactory,
net.thucydides.core.batches.BatchManager batchManager)
throws java.lang.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 testingjava.lang.Throwable - - cause anything can happen!public SerenityParameterizedRunner(java.lang.Class<?> klass)
throws java.lang.Throwable
klass - The test class to runjava.lang.Throwable - Cause shit happenspublic boolean runTestsInParallelFor(java.lang.Class<?> klass)
public int getThreadCountFor(java.lang.Class<?> klass)
public 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 java.util.List<org.junit.runner.Runner> getRunners()