Eclipse Junit '-ea' VM Option
EclipseIdeJunitEclipse Problem Overview
In eclipse preferences
Windows > Preferences > Java > Junit
What effect does the "Add '-ea' to VM args ...." checkbox option actually have on the new junit launch config?
Eclipse Solutions
Solution 1 - Eclipse
It enables the JVM to honour assertions