intellij enable assertions Posted on April 30, 2012 by rogerdpack disabled by default (even for unit tests) for some reason. http://devcheatsheets.wordpress.com/2011/03/02/intellij-idea-enable-java-1-4-assertions-for-junit-rundebug-configurations/ Run [menu] -> Edit Configurations …see link
weirdly…I hope this is fixed in later versions (it might be…but wasn’t for me, that’s the weird part, but it might be now…just wasn’t at the time).
weirdly…I hope this is fixed in later versions (it might be…but wasn’t for me, that’s the weird part, but it might be now…just wasn’t at the time).