Intellj idea 中创建测试 test

在idea中创建测试类有两种方法: 1)鼠标点中类名,使用"Alt+Enter", 会弹出intention action -> create tests   2)鼠标点中类名,使用“Ctrl+Shift+T”(默认), 会弹出 create new test   弹出的窗口,输入父类/包名,选择需要生成的method   这里说明下:如果是多模块工程,选择对应的包名(一般一个模块一个包名)会直接
相关文章
相关标签/搜索