idea生成测试类的快捷键 1、选中需要测试的类 2、快捷键 1)、按快捷键cmd+shift+T(windows是Ctrl+Shift+T) 2)、在弹出的窗口中选择Create New Test 3)、选择报名、选中测试的方法