junit test problem in 1.3

View: New views
3 Messages — Rating Filter:   Alert me  

junit test problem in 1.3

by Dustin Sallings :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


        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

by Assaf Arkin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, May 10, 2008 at 8:28 PM, Dustin Sallings <dustin@...> 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

Re: junit test problem in 1.3

by Rafal Rusin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <dustin@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