Package org.citrusframework
Class DefaultTestCaseRunner
java.lang.Object
org.citrusframework.DefaultTestCaseRunner
- All Implemented Interfaces:
GherkinTestActionRunner,TestActionRunner,TestCaseBuilder,TestCaseRunner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionDefaultTestCaseRunner(TestContext context) Constructor initializes a default test case with given test context.DefaultTestCaseRunner(TestCase testCase, TestContext context) Constructor initializes with given test case and context. -
Method Summary
Modifier and TypeMethodDescriptionapplyBehavior(TestBehavior behavior) voidvoidcreationDate(Date date) voiddescription(String description) Obtains the testCase.voidvoidvoidpackageName(String packageName) <T extends TestAction>
Trun(TestActionBuilder<T> builder) voidsetTestCase(TestCase testCase) voidstart()voidstatus(TestCaseMetaInfo.Status status) voidstop()void<T> TMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.GherkinTestActionRunner
and, and, given, given, then, then, when, whenMethods inherited from interface org.citrusframework.TestActionRunner
$, $, run
-
Constructor Details
-
DefaultTestCaseRunner
Constructor initializes a default test case with given test context.- Parameters:
context-
-
DefaultTestCaseRunner
Constructor initializes with given test case and context.- Parameters:
testCase-context-
-
-
Method Details
-
getContext
-
start
public void start()- Specified by:
startin interfaceTestCaseRunner
-
stop
public void stop()- Specified by:
stopin interfaceTestCaseRunner
-
variable
- Specified by:
variablein interfaceTestCaseBuilder
-
testClass
- Specified by:
testClassin interfaceTestCaseBuilder
-
name
- Specified by:
namein interfaceTestCaseBuilder
-
description
- Specified by:
descriptionin interfaceTestCaseBuilder
-
author
- Specified by:
authorin interfaceTestCaseBuilder
-
packageName
- Specified by:
packageNamein interfaceTestCaseBuilder
-
status
- Specified by:
statusin interfaceTestCaseBuilder
-
creationDate
- Specified by:
creationDatein interfaceTestCaseBuilder
-
groups
- Specified by:
groupsin interfaceTestCaseBuilder
-
run
- Specified by:
runin interfaceTestActionRunner
-
applyBehavior
- Specified by:
applyBehaviorin interfaceTestActionRunner
-
getTestCase
Obtains the testCase.- Specified by:
getTestCasein interfaceTestCaseBuilder- Returns:
-
setTestCase
-