@Retention(value=CLASS) @Target(value={TYPE,METHOD}) @Inherited public @interface Test
Mark component class or method for automated testing.
TODO: introduce additional parameters to refine generated test.
| Modifier and Type | Optional Element and Description |
|---|---|
String |
testClass
Name of the generated unit test class. |
String |
testMethod
The value of this annotation attribute is taken to be a name of the generated test method. |
TestType |
type
The value of this annotation attribute tells CDK what kind of tests should be generated. |
public abstract String testClass
Name of the generated unit test class. Currently that is mandatory
TODO: if this value is an empty, class will be inferred from the base class name.
public abstract String testMethod
The value of this annotation attribute is taken to be a name of the generated test method.
public abstract TestType type
The value of this annotation attribute tells CDK what kind of tests should be generated.
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.