I have written a code as follow: but while compiling it throws the compilation error saying
"The attribute 'name' is undefined for the annotation type Parameterized.Parameters"
@RunWith(Parameterized.class)
public class TrustStandaloneTestSimple {
@BeforeClass
public static void setup() {
}
@Parameters(name = "propertyFileName")
public static Collection<String[]> getParameters(){
return Arrays.asList(new String [][]{{"trust.keystore.simple1.properties"},
{"trust.keystore.simple2.properties"}});
}
If you have different imports other than below may cause the issue
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;
Please check your imports