IDEA console cannot be entered
If you are using IDEA and you find that you cannot input from the console while testing with JUnit, you need to make the following changes to make the configuration successful
Step 1: Help –Edit Constom VM Options…
Step 2: open the configuration, add – Deditable. Java. Test. The console = true
If the configuration is successful, restart IDEA and the problem will be solved