maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David C. Hicks" <dhi...@i-hicks.org>
Subject Re: Set system properties in pom.xml?
Date Mon, 16 Feb 2009 23:45:11 GMT
Where would I find those test cases?  I see nothing about integration 
tests on the SureFire page.

Dan Tran wrote:
> 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 <dhicks@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-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>   

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


Mime
View raw message