tags:

views:

103

answers:

1

In eclipse preferences

Windows > Preferences > Java > Junit

alt text

What effect does the "Add '-ea' to VM args ...." checkbox option actually have on the new junit launch config?

+3  A: 

It enables assertions.

Matt McHenry
+1 note: the Java-in-built assertations are not the junit ones ... I do not recommend to use those in-built assert statements. instead do unit testing
Karussell