public class SpringIntegrationSerenityRunner extends SerenityRunner
SpringIntegrationMethodRule and SpringIntegrationClassRule.| Constructor and Description |
|---|
SpringIntegrationSerenityRunner(Class<?> testClass)
Create a Serenity runner for a particular class.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<org.junit.rules.TestRule> |
classRules()
Sets up an instance of
SpringIntegrationClassRule in the list of class rules, creating one if missing. |
Object |
createTest()
Prepares the test instance after creating the test instance.
|
protected List<org.junit.rules.MethodRule> |
rules(Object target)
Sets up an instance of
SpringIntegrationMethodRule in the list of method rules, creating one if missing. |
additionalBrowserCleanup, driverFor, generateReports, getBatchManager, getConfiguration, getDefaultReporters, getDriver, getDriver, getOutputDirectory, getPages, getStepListener, getTestOutcomes, initListeners, initListenersUsing, initStepEventBus, injectAnnotatedPagesObjectInto, injectDriverInto, injectEnvironmentVariablesInto, injectScenarioStepsInto, methodInvoker, prepareBrowserForTest, run, runChild, setStepListener, subscribeReporter, useQualifiercollectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, possiblyExpectingExceptions, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutchildrenInvoker, classBlock, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolationpublic SpringIntegrationSerenityRunner(Class<?> testClass) throws org.junit.runners.model.InitializationError
testClass - The class to test.org.junit.runners.model.InitializationError - If the super constructor throws an InitializationError.public Object createTest() throws Exception
createTest in class org.junit.runners.BlockJUnit4ClassRunnerException - Passed up from the superclass.protected List<org.junit.rules.MethodRule> rules(Object target)
SpringIntegrationMethodRule in the list of method rules, creating one if missing. Also removes any SpringIntegration rule.rules in class org.junit.runners.BlockJUnit4ClassRunnertarget - The target instance. Not used here, but passed down to super method.protected List<org.junit.rules.TestRule> classRules()
SpringIntegrationClassRule in the list of class rules, creating one if missing.classRules in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>Copyright © 2023. All rights reserved.