Why assert does not show in intellj idea

Questions and answersCategory: JAVAWhy assert does not show in intellj idea
anyquestiomn asked 8 years ago

 IDE does not show assert statement

admin replied 8 years ago

To change the default behavior of the JUnit runner, edit the Run/Debug configurations, select Edit Defaults, select JUnit, and add “-ea” or “-enableassertions” to the VM parameters.

1 Answers
answered 8 years ago

To change the default behavior of the JUnit runner, edit the Run/Debug configurations, select Edit Defaults, select JUnit, and add “-ea” or “-enableassertions” to the VM parameters.

Social media & sharing icons powered by UltimatelySocial