摘要:
1配置坐标 <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>5.0.5.RELEASE</version> </dependency> 2配置spr 阅读全文
posted @ 2022-01-13 22:30
ziwang520
阅读(33)
评论(0)
推荐(0)
摘要:
1导入坐标 <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.0.5.RELEASE</version> </dependency> <depe 阅读全文
posted @ 2022-01-13 16:43
ziwang520
阅读(52)
评论(0)
推荐(0)
摘要:
1 导入坐标 2使用@Runwith来替换原来的运行期 3使用@ContextConfiguration指定配置文件或者配置类 4注入需要测试的对象 5 测试 集成前 @Test public void test6() throws Exception{ ApplicationContext app 阅读全文
posted @ 2022-01-13 15:39
ziwang520
阅读(39)
评论(0)
推荐(0)
浙公网安备 33010602011771号