Package org.citrusframework.annotations
Annotation Interface CitrusTestSource
Citrus test case annotation used for Groovy test case definition inside a unit test class.
Each method annotated with this annotation will result in a separate test execution.
- Author:
- Christoph Deppisch
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Test name optional - by default method name is used as test nameTest package name optional - by default package of declaring test class is usedString[]Test packages to scan optional - for loading all external test case definitions (e.g.String[]Test source file optional - fully qualified test source file path
-
Element Details
-
type
String typeTest source type required - defines how source is loaded (e.g. as Groovy script, XML file or Spring bean definition
-
-
-
name
String[] nameTest name optional - by default method name is used as test name- Default:
- {}
-
packageName
String packageNameTest package name optional - by default package of declaring test class is used- Default:
- ""
-
packageScan
String[] packageScanTest packages to scan optional - for loading all external test case definitions (e.g. Groovy, Xml)- Default:
- {}
-
sources
String[] sourcesTest source file optional - fully qualified test source file path- Default:
- {}
-