Search code examples
javaeclipsejunitide

Eclipse Junit '-ea' VM Option


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?


Solution

  • It enables the JVM to honour assertions