ignore tests code example
Example 1: junit test ignored
@Ignore
public class TestClass {
[...]
//JUnit will ignore this class for tests
}
Example 2: how to ignore test in junit
The @Ignore test annotation
is used to ignore particular tests
@Ignore
public class TestClass {
[...]
//JUnit will ignore this class for tests
}
The @Ignore test annotation
is used to ignore particular tests