JAVA:IDEA使用Junit(3) 1、配置 File ——> Project Structure ——> Libraries ——> + ——>搜索Junit类库 确认ok即可 2、编辑项目 选择创建 配置生成的测试类 代码: