net.thucydides.junit.runners
Class ThucydidesParameterizedRunner
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runner.Runner>
org.junit.runners.Suite
net.thucydides.junit.runners.ThucydidesParameterizedRunner
- All Implemented Interfaces:
- org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable
public class ThucydidesParameterizedRunner
- extends org.junit.runners.Suite
Run a Thucydides test suite using a set of data.
Similar to the JUnit parameterized tests, but better ;-).
| Nested classes/interfaces inherited from class org.junit.runners.Suite |
org.junit.runners.Suite.SuiteClasses |
| Methods inherited from class org.junit.runners.Suite |
describeChild, emptySuite, runChild |
| Methods inherited from class org.junit.runners.ParentRunner |
childrenInvoker, classBlock, classRules, collectInitializationErrors, filter, getDescription, getName, getRunnerAnnotations, getTestClass, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses |
| 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 |
ThucydidesParameterizedRunner
public ThucydidesParameterizedRunner(Class<?> klass,
Configuration configuration,
WebDriverFactory webDriverFactory)
throws Throwable
- Only used for testing.
- Throws:
Throwable
ThucydidesParameterizedRunner
public ThucydidesParameterizedRunner(Class<?> klass)
throws Throwable
- Only called reflectively. Do not use programmatically.
- Throws:
Throwable
runTestsInParallelFor
protected boolean runTestsInParallelFor(Class<?> klass)
getThreadCountFor
protected int getThreadCountFor(Class<?> klass)
getChildren
protected List<org.junit.runner.Runner> getChildren()
- Overrides:
getChildren in class org.junit.runners.Suite
run
public void run(org.junit.runner.notification.RunNotifier notifier)
- Overrides:
run in class org.junit.runners.ParentRunner<org.junit.runner.Runner>
generateReports
public void generateReports()
subscribeReporter
public void subscribeReporter(AcceptanceTestReporter reporter)
getRunners
public List<org.junit.runner.Runner> getRunners()
Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.