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

 IDE does not show assert statement

1 Answers
answered 3 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.