What do you expect to gain by "externalizing" dependencies? You have
to specify them somewhere anyway, in Java DSL, which is the approach
chosen by Pax Exam, or in an external XML or properties file.

You can use versionAsInProject() to avoid repeating version IDs
specified in the POM (but you need to list the group and artifact IDs
explicitly). You can factor out a configuration method to a separate
class to reuse a configuration in multiple test classes. You can also
combine option groups returned by different methods.

Examples of these approaches can be found in Pax Exam's own regression tests.

Best regards,
Harald

2012/9/12 neeraj bhusare <neerajbhus...@gmail.com>:
> Hi,
> Is there a way I could externalize the test dependencies ? I am not very
> convinced with the idea of making changes in the code (configuration method)
> while manipulating the dependencies. Any pointers/comments would he highly
> appreciated.
>
> Thanks in advance.
> ---
> Best regards, Neeraj
>
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to