|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented
@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface SmokeTest
For fast CI build it is helpful to mark important JUnit tests and test
method as SmokeTest. If the JUnit tests are started with the system property
"patterntesting.runSmokeTest" set then only these marked test classes and
methods will be executed. This will help you to start only the important
tests for a faster build.
For finer granularity a level could be set. This level can be set with the
same property, e.g. "-Dpatterntesting.runSmokeTest=5". Then only tests with
level 5 or less will be executed. The other tests with level 6 or higher
will be skipped.
Note: this feature is reserved for future use. If you would
like it raise a feature request at
"http://sourceforge.net/tracker/?atid=454320&group_id=48833".
| Optional Element Summary | |
|---|---|
int |
level
You are free to define your only levels here. |
String |
value
You can change the default string to give a reason why the test will be executed in "SmokeTest mode". |
public abstract String value
public abstract int level
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||