@Runwith(Junit4.class) // @Runwith 就是一个运行器,就是指用junit4来运行。

@Runwith(SpringJunit4classRunner.class) 

@ContextConfiguration(locations={"classpath:applicationContext.xml"})

 

posted on 2015-05-11 15:07  风流书生  阅读(141)  评论(0编辑  收藏  举报