IDEA 整合Junit实现自动生成测试代码 1.安装插件 junit generator 重启IDEA,完成安装. 2. 选中需要测试的方法,按alt + insert 即可自动生成测试类方法 3. 设置