You may want to take a look at surefire's integration test cases, I
has a bunch of examples on how push system properties into surefire.

-D

On Mon, Feb 16, 2009 at 1:25 PM, David C. Hicks <dhi...@i-hicks.org> wrote:
> Incidentally, I did try using the <systemProperties> configuration element
> of the SureFire plugin.  It did not appear to do anything.
>
> David C. Hicks wrote:
>>
>> I think I already know the answer to this: No.  But, I feel like I should
>> ask, just in case I've missed some vital piece of information.  (Google is
>> great, but sometimes it's hard to work your way through the chaff.)
>>
>> I'd like to control some unit test features using a profile.  My current
>> path was to simply set a property in my profile, thinking that I could then
>> read that value in my test code using System.getProperty(key).  That doesn't
>> seem to be supported.
>>
>> Is there some other, recommended, way of doing this kind of thing?
>>
>> Thanks,
>> Dave
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to