need to enableassertions when running tests.
--------------------------------------------

         Key: MNG-1087
         URL: http://jira.codehaus.org/browse/MNG-1087
     Project: Maven 2
        Type: Improvement
  Components: maven-surefire-plugin, documentation  
 Environment: all
 Reporter: Dave Sag
    Priority: Critical


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to