You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Marshall Schor <ms...@schor.com> on 2013/12/23 17:54:22 UTC

Running build tests with Java assertions enabled?

Hi,

Burn noticed an assertion failure in one test case, when running with assertions
enabled (adding the JVM argument -ea).

I'm wondering if we should enable assertions when running the maven-surefire-plugin?

-Marshall

Re: Running build tests with Java assertions enabled?

Posted by Marshall Schor <ms...@schor.com>.
hmmm,

On second look, maven-surefire-plugin automatically enables assertions when
running tests.

See
http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#enableAssertions

-Marshall

On 12/23/2013 11:54 AM, Marshall Schor wrote:
> Hi,
>
> Burn noticed an assertion failure in one test case, when running with assertions
> enabled (adding the JVM argument -ea).
>
> I'm wondering if we should enable assertions when running the maven-surefire-plugin?
>
> -Marshall
>