Hi All,
I want to parameterize configuration method with standard JUnit
annotations. Is it possible with Pax-Exam 4.9.x?
public GeneralTest(String featureName) {
this.featureName = featureName;
}
private String featureName;
@Parameterized.Parameters
public static List<String> getParameters() {
return Arrays.asList("feature-A");
}
@Configuration
public Option[] config() {
return options(
karafDistributionConfiguration()...,
features(
maven()
.groupId(...)
.artifactId(...)
.type("xml")
.classifier("features")
.version(...),
featureName),...
}
@Test
public void commonTest() throws Exception {
// common test for all params
}
--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]
---
You received this message because you are subscribed to the Google Groups
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.