package asd;
import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
@RunWith(JUnitParamsRunner.class)
public class JunitParamsTest {
@Test
@Ignore
@Parameters(method = "noMethod")
public void shouldNotTryToInvokeMethodWhenTestIgnored(Object a) {
}
}
should not try to invoke noMethod, because test is ignored, and therefore by
definition it cannot fail ;-)
Original issue reported on code.google.com by tomasz.b...@pragmatists.pl on 5 Jan 2012 at 8:27
Original issue reported on code.google.com by
tomasz.b...@pragmatists.pl
on 5 Jan 2012 at 8:27