public class ExtendedParallelCucumber
extends org.junit.runners.ParentRunner<org.junit.runner.Runner>
| Modifier and Type | Field and Description |
|---|---|
private Class<?> |
clazz |
private cucumber.api.CucumberOptions |
cucumberOption |
private ExtendedCucumberOptions[] |
options |
private ExtendedCucumber[] |
runners |
private int |
threadsCount |
| Constructor and Description |
|---|
ExtendedParallelCucumber(Class<?> clazzValue) |
ExtendedParallelCucumber(Class<?> clazzValue,
cucumber.api.CucumberOptions baseOptions,
ExtendedCucumberOptions[] extendedOptionsValue) |
| Modifier and Type | Method and Description |
|---|---|
private ExtendedCucumber[] |
buildRunners() |
String[] |
convertPluginPaths(String[] original,
int index) |
protected org.junit.runner.Description |
describeChild(org.junit.runner.Runner runner) |
private ExtendedCucumberOptions |
generateExtendedOption(ExtendedCucumberOptions extendedOption,
javassist.bytecode.ConstPool cp,
int i,
int j) |
ExtendedCucumber[] |
generateTestClasses(cucumber.api.CucumberOptions[] cucumberOptions,
ExtendedCucumberOptions[][] extendedOptions) |
private javassist.bytecode.annotation.MemberValue |
getArrayMemberValue(Object object,
Method field,
javassist.bytecode.ConstPool cp) |
protected List<org.junit.runner.Runner> |
getChildren() |
org.junit.runner.Description |
getDescription() |
private javassist.bytecode.annotation.MemberValue |
getFieldMemberValue(Object object,
Method field) |
String[] |
getOutputJsonPaths(boolean usage) |
ExtendedCucumber[] |
getRunners() |
static int |
getThreadsCount(int threadsCountNumber,
String threadsCountValue) |
void |
run(org.junit.runner.notification.RunNotifier notifier) |
protected void |
runChild(org.junit.runner.Runner runner,
org.junit.runner.notification.RunNotifier notifier) |
private void |
runPredefinedMethods(Class annotation) |
private void |
runReports() |
cucumber.api.CucumberOptions[] |
splitCucumberOption(cucumber.api.CucumberOptions option) |
ExtendedCucumberOptions[][] |
splitExtendedCucumberOptions(ExtendedCucumberOptions[] extendedOptions,
int suitesCount) |
int |
testCount() |
childrenInvoker, classBlock, classRules, collectInitializationErrors, createTestClass, filter, getName, getRunnerAnnotations, getTestClass, isIgnored, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClassesprivate Class<?> clazz
private ExtendedCucumberOptions[] options
private cucumber.api.CucumberOptions cucumberOption
private int threadsCount
private ExtendedCucumber[] runners
public ExtendedParallelCucumber(Class<?> clazzValue) throws Exception
Exceptionpublic ExtendedParallelCucumber(Class<?> clazzValue, cucumber.api.CucumberOptions baseOptions, ExtendedCucumberOptions[] extendedOptionsValue) throws Exception
Exceptionpublic static int getThreadsCount(int threadsCountNumber,
String threadsCountValue)
private ExtendedCucumber[] buildRunners() throws Exception
Exceptionpublic final ExtendedCucumber[] getRunners()
private javassist.bytecode.annotation.MemberValue getArrayMemberValue(Object object, Method field, javassist.bytecode.ConstPool cp) throws Exception
Exceptionprivate javassist.bytecode.annotation.MemberValue getFieldMemberValue(Object object, Method field) throws Exception
Exceptionpublic cucumber.api.CucumberOptions[] splitCucumberOption(cucumber.api.CucumberOptions option)
throws Exception
Exceptionprivate ExtendedCucumberOptions generateExtendedOption(ExtendedCucumberOptions extendedOption, javassist.bytecode.ConstPool cp, int i, int j) throws Exception
Exceptionpublic ExtendedCucumberOptions[][] splitExtendedCucumberOptions(ExtendedCucumberOptions[] extendedOptions, int suitesCount) throws Exception
Exceptionpublic final ExtendedCucumber[] generateTestClasses(cucumber.api.CucumberOptions[] cucumberOptions, ExtendedCucumberOptions[][] extendedOptions) throws Exception
Exceptionpublic final String[] getOutputJsonPaths(boolean usage)
public org.junit.runner.Description getDescription()
getDescription in interface org.junit.runner.DescribablegetDescription in class org.junit.runners.ParentRunner<org.junit.runner.Runner>private void runPredefinedMethods(Class annotation) throws Exception
Exceptionpublic void run(org.junit.runner.notification.RunNotifier notifier)
run in class org.junit.runners.ParentRunner<org.junit.runner.Runner>public int testCount()
testCount in class org.junit.runner.Runnerprotected org.junit.runner.Description describeChild(org.junit.runner.Runner runner)
describeChild in class org.junit.runners.ParentRunner<org.junit.runner.Runner>protected void runChild(org.junit.runner.Runner runner,
org.junit.runner.notification.RunNotifier notifier)
runChild in class org.junit.runners.ParentRunner<org.junit.runner.Runner>protected List<org.junit.runner.Runner> getChildren()
getChildren in class org.junit.runners.ParentRunner<org.junit.runner.Runner>Copyright © 2013-2017. All Rights Reserved.