Package org.citrusframework
Interface TestCaseBuilder
- All Known Subinterfaces:
TestCaseRunner
public interface TestCaseBuilder
- Author:
- Christoph Deppisch
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds author to the test case.voidcreationDate(Date date) Sets the creation date.voiddescription(String description) Adds description to the test case.Builds the test case.voidSets the test group names for this test.voidSet custom test case name.voidpackageName(String packageName) Sets custom package name for this test case.voidstatus(TestCaseMetaInfo.Status status) Sets test case status.voidSet test class.<T> TAdds a new variable definition to the set of test variables for this test case and return its value.
-
Method Details
-
getTestCase
TestCase getTestCase()Builds the test case.- Returns:
-
testClass
Set test class.- Parameters:
type-
-
name
Set custom test case name.- Parameters:
name-
-
description
Adds description to the test case.- Parameters:
description-
-
author
Adds author to the test case.- Parameters:
author-
-
packageName
Sets custom package name for this test case.- Parameters:
packageName-
-
status
Sets test case status.- Parameters:
status-
-
creationDate
Sets the creation date.- Parameters:
date-
-
groups
Sets the test group names for this test. -
variable
Adds a new variable definition to the set of test variables for this test case and return its value.- Parameters:
name-value-- Returns:
-