IDEA 单元测试时,控制台无法输入(System.in 无法输入)

添加 VM 参数

-Deditable.java.test.console=true

posted @ 2021-02-02 13:02  qianbuhan  阅读(361)  评论(0)    收藏  举报