@Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) @Inherited public @interface RandomlyFails
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.
Built on May 21 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.