shivadorepally / junitparams

Automatically exported from code.google.com/p/junitparams
0 stars 0 forks source link

Should not try to invoke method when test ignored #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago

Original comment by lipinski...@gmail.com on 7 Jan 2012 at 3:13

GoogleCodeExporter commented 8 years ago

Original comment by lipinski...@gmail.com on 8 Jan 2012 at 10:02