一、Spring Boot项目单元测试、热部署与原理分析 1、修改pom.xml文件,添加测试依赖启动器 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> 2、创建测试类与测试方法 3、在net.tjl.lesson01包里创建测试类TestHelloWorld01