You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Dustin Sallings <du...@spy.net> on 2008/05/11 05:28:37 UTC

junit test problem in 1.3

	I just upgraded to buildr 1.3 and figure out how to get my junit  
tests running with assertions enabled. The following does nothing:

	test.using :java_args => "-ea"

	Any ideas?

-- 
Dustin Sallings




Re: junit test problem in 1.3

Posted by Rafal Rusin <ra...@gmail.com>.
I had a similar problem. A solution is to use braces:
test.using :java_args => ["-ea"]

Regards,
Rafal Rusin


Assaf Arkin wrote:
> 
> On Sat, May 10, 2008 at 8:28 PM, Dustin Sallings <du...@spy.net> wrote:
> 
>>
>>        I just upgraded to buildr 1.3 and figure out how to get my junit
>> tests running with assertions enabled. The following does nothing:
>>
>>        test.using :java_args => "-ea"
>>
>>        Any ideas?
> 
> 
> Add this in svn/git, can you test it out?
> 
> Assaf
> 
> 
>>
>>
>> --
>> Dustin Sallings
>>
>>
>>
>>
> 
> 
> -- 
> CTO, Intalio
> http://www.intalio.com
> 
> 

-- 
View this message in context: http://www.nabble.com/junit-test-problem-in-1.3-tp17169722p21647192.html
Sent from the Buildr - User mailing list archive at Nabble.com.


Re: junit test problem in 1.3

Posted by Assaf Arkin <ar...@intalio.com>.
On Sat, May 10, 2008 at 8:28 PM, Dustin Sallings <du...@spy.net> wrote:

>
>        I just upgraded to buildr 1.3 and figure out how to get my junit
> tests running with assertions enabled. The following does nothing:
>
>        test.using :java_args => "-ea"
>
>        Any ideas?


Add this in svn/git, can you test it out?

Assaf


>
>
> --
> Dustin Sallings
>
>
>
>


-- 
CTO, Intalio
http://www.intalio.com