Pass the path to the properties file as a system property and have the
tests use Assume.assumeThat to skip if the property is not defined.

Use the Surefire systemPropertyVariables to pass the property through to
the tests

On Tuesday, 23 April 2013, AJRobson wrote:

> Hi Wayne,
>
> Thank you for the reply. Unfortunately I am not sure I could do it that was
> as I will be running a set of tests on different sites so I need to pass in
> a properties files that will contain login information, DB information,
> product information etc.
>
>
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Possible-to-have-list-of-systemProperties-in-an-external-file-tp5754193p5754208.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected] <javascript:;>
> For additional commands, e-mail: [email protected]<javascript:;>
>
>

-- 
Sent from my phone

Reply via email to