nacx commented on this pull request.
> +@RunWith(PaxExam.class)
+@ExamReactorStrategy(PerMethod.class)
+public class FeatureInstallationTest extends BasePaxExamTest {
+
+ @Inject
+ FeaturesService featuresService;
+
+ @Before
+ public void setUp() throws Exception {
+ featuresService.addRepository(getFeaturesFile().toURI());
+ }
+
+ @Test
+ public void testJcloudsFeature() throws Exception {
+ featuresService.installFeature("jclouds");
+ }
The `PaxExamParameterized` does not support the [@Parameter
name](https://github.com/junit-team/junit4/wiki/Parameterized-tests#identify-individual-test-cases)
attribute yet, so test names just contain the parameter index. Exception
messages in the test output should report the feature that could not be
installed, though.
BTW, if you want to give it a try you'll have to declare the `@Configuration`
method static.
It is up to you to change it or leave it as-is :) I'm happy with both
approaches.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/92#discussion_r102185597