In JUnit you can use @Ignore
before methods to tell the test runner to automatically skip those tests. From what I can gather, this is really only a convenient way to document/mark off incomplete/no longer functional tests that you want to get back to later.
Am I correct in saying then, that at runtime there is no difference between an @Ignore
test, a method with no annotation, and a commented out method? (Assuming these tests are all self contained.) Is there some way to obtain a list of the ignored test cases in JUnit on Netbeans? If not, how much usefulness does the @Ignore
tag really have, since it might be more useful to fail the test so it's not overlooked?