I'm using junit 4.12 and would like to ignore all test cases in class at once instead of adding ignore annotation before each method marked as test. According to documentation it is possible to add @Ignore on class level.
@Ignore
public class BasicOperationsTest extends TestBaseClass{
I did it like above but it doesn't work - all test methods are executed. When I add ignore before @Test method in this case annotation works and test is not executed.
org.junit.Ignore
and not some other@Ignore
annotation ? – CalamanderTestBaseClass
would also help. – OutpourTestBaseClass
– Coussoule