You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2005/12/13 02:18:49 UTC

[jira] Closed: (MNG-1087) need to enableassertions when running tests.

     [ http://jira.codehaus.org/browse/MNG-1087?page=all ]
     
Jason van Zyl closed MNG-1087:
------------------------------

    Resolution: Fixed

You can now set this using the argLine option.

> need to enableassertions when running tests.
> --------------------------------------------
>
>          Key: MNG-1087
>          URL: http://jira.codehaus.org/browse/MNG-1087
>      Project: Maven 2
>         Type: Improvement

>   Components: documentation - general, maven-surefire-plugin
>  Environment: all
>     Reporter: Dave Sag
>     Assignee: Jason van Zyl
>     Priority: Critical
>      Fix For: 2.0.2

>
>
> My code relied heavily on the java1.4 assert command and my unit tests explicitly test based on those assetions.
> but when i run m2 test the surefire plugin does not execute with the -enableassertions turned on, so my tests fail.
> looking in the documentation for the surefire plugin on http://maven.apache.org/maven2/plugins/maven-surefire-plugin/test-mojo.html I see no way of setting that flag.
> could it please be added.  this is areal blocker for me.
> dave

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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