Maven项目中使用JUnit进行单元测试时间:2023-03-10 06:39:22 1.打开maven项目中的pom.xml,添加JUnit 的jar包 2.在src/test/java下右键新建JUnit Test Cast