Roundcrisis

home about talks rss feed  rss

Initialization Error on JVM based tests

08 Feb 2017

If you are working with intellij and gradle you might at some point hit the

Initialization error : “java.lang.AssertionError: Java Assertions should be disabled!”

this is becasue intellij doesn’t import this setting from gradle.

To disable it go to Run -> Edit Configurations… in VM options remove -ea Removing this option means we are not checking for assertions sometimes external libraries use this.

comments powered by Disqus