摘要: 转自:http://www.coderli.com/junit-spring-test-applicationcontext JUnit单元测试用例中使用Spring框架,直接方式如下。 @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = { "/spring/applicationConte... 阅读全文
posted @ 2014-09-12 14:41 dorothychai 阅读(5512) 评论(0) 推荐(0) 编辑