idea中@Test单元测试Scanner无法输入的解决方法 Instance 2022-05-04 450 阅读1分钟 1. 2.加入一行: -Deditable.java.test.console=true 3.重启idea