@RunWith(Parameterized.class)
public class ParamTests {
@Parameters
public static List<Object[]> parameters() {
return Arrays.asList(new Object[] {"foo"}, new Object[] {"bar"});
}
public ParamTests(String value) {}
@Test
public void test() {
Assert.assertTrue(true);
}
}
But the status is "?" and the report says that no tests were run, with no failures.
"location":"java:test://com.example.demo.ParamTests"}}>
@@<{"name":"testSuiteStarted", "attributes":{"name":"com.example.demo.ParamTests", "location":"java:test://com.example.demo.ParamTests"}}>
@@<{"name":"testStarted", "attributes":{"name":"test[0]", "location":"java:test://com.example.demo.ParamTests.test[0]"}}>
@@<{"name":"testFinished", "attributes":{"name":"test[0]", "duration":"1"}}>
@@<{"name":"testStarted", "attributes":{"name":"test[1]", "location":"java:test://com.example.demo.ParamTests.test[1]"}}>
@@<{"name":"testFinished", "attributes":{"name":"test[1]", "duration":"0"}}>
@@<{"name":"testSuiteFinished", "attributes":{"name":"com.example.demo.ParamTests"}}>
Total tests run: 2, Failures: 0, Skips: 0
This actually runs:
But the status is "?" and the report says that no tests were run, with no failures.
Logs: