摘要:
spring的XML配置好之后,运行testNG还会出问题。搞定代码如下:/** * 基于Spring的服务层测试超类 * * @author chief */@ContextConfiguration(locations = { "classpath:conf/spring/spring-da.xml", "classpath:conf/spring/spring-res.xml" })@TransactionConfiguration(defaultRollback = false)public abstract class BaseTest ext 阅读全文
posted @ 2013-11-01 19:22 炫谷 阅读(862) 评论(0) 推荐(0) 编辑