maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: Possible to have list of systemProperties in an external file?
Date Tue, 23 Apr 2013 07:40:30 GMT
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: users-unsubscribe@maven.apache.org <javascript:;>
> For additional commands, e-mail: users-help@maven.apache.org<javascript:;>
>
>

-- 
Sent from my phone

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message