Package org.testng.annotations
Annotation Type Ignore
-
@Retention(RUNTIME) @Target({METHOD,TYPE,PACKAGE}) public @interface Ignore
Alternative of @Test(enable=false) Notice that @Ignore on a class will disable all test methods of the class. Ignoring a class will ignore tests from child classes too. Ignoring a package will ignore all tests in the package and its sub-packages A package annotation is done inpackage-info.java
. For example:@Ignore package test.ignorePackage; import org.testng.annotations.Ignore;
-
-
Element Detail
-
value
String value
- Default:
- ""
-
-