用jUnit测试controller、Service
1.测试controller部分代码如下:@RunWith(SpringJUnit4ClassRunner.class)@WebAppConfiguration@ContextConfiguration(locations = { "classpath:resources/applicationContext.xml", "classpath:resources/springmvc-ser
原创
2015-10-27 15:52:26 ·
6079 阅读 ·
1 评论