1)使用Junit5,且测试类和启动类包名一样
①引入Test注解:import org.junit.jupiter.api.Test;
2)使用Junit4,且测试类和启动类包名一样
①引入Test注解:import org.junit.
2024-02-25