maven使用Junit测试

1.maven整个ssh项目使用Junit测试,需要pom.xml中添加Junit依赖和spring-test依赖 2.maven拆分ssh工程时候,如果父工程的pom.xml中没有Junit包和spring-test包,需要在子工程中导入 3.在单元测试类中通过注解方式或者new 类的方式加载配置文件 注:@ContextConfiguration("classpath*:spring/appl
相关文章
相关标签/搜索