|
org.netbeans.modules.nbjunit/1 1.75 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD})
@Inherited
public @interface RandomlyFailsIndicates that this test can fail randomly.
When used on a method in a class extending NbTestCase,
the implicit suite will exclude this test in case the system property
ignore.random.failures is set to true.
When used on a class passed to NbTestSuite.NbTestSuite(Class) or NbTestSuite.addTestSuite(Class),
the suite will be empty if the system property is set;
the same if it is used on a class extending NbTestCase.
Test runs which must be reliable should define the system property.
(E.g. for NetBeans modules: ant -Dtest-unit-sys-prop.ignore.random.failures=true test)
Developers running tests interactively should not.
|
org.netbeans.modules.nbjunit/1 1.75 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||