You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2005/11/15 05:24:06 UTC

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

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

John Casey updated MNG-1087:
----------------------------

    Description: 
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


  was:
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


    Fix Version: 2.0.1

> 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
>     Priority: Critical
>      Fix For: 2.0.1

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