Spring的單元測試

使用Spring的單元測試 * 1.導包:Spring單元測試包 * [email protected](locations = "") 使用它來指定Spring的配置文件的位置 * [email protected]() 指定用哪種驅動進行單元測試,默認就是junit * @RunWith(SpringJUnit4ClassRunner.class) * 使用Spring
相關文章
相關標籤/搜索