On 5/29/06, Steve Lewis <[EMAIL PROTECTED]> wrote:

This is an easy one, but I haven't found a match by searching the archives.

I want to pass a VMarg ('-ea'--enable assertions, if you cared) during
execution of the unit tests.  What do you recommend?

I haven't tried it, but the docs say assertions should be enabled by default.

http://maven.apache.org/plugins/maven-surefire-plugin/howto.html

"Note: You do not need to manually enable assertions if you are using
them in your unit tests - Surefire enables them on your test classes
automatically under JDK 1.4+."

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • easy Q: Steve Lewis
    • Re: easy Q: Wendy Smoak

Reply via email to