this is @BeforeClass
this is @Before
this is @Test1
this is @After
this is @Before
this is @Test2
this is @After
this is @AfterClass
this is @Before
this is @Test1
this is @After
this is @Before
this is @Test2
this is @After
this is @AfterClass
2016-01-11
* Created by Administrator on 2015/5/29.
* 1.測試方法上必須使用@Test進行修飾
* 2.測試方法必須使用public void 進行修飾,不能待任何的參數
* 3.新建一個源代碼目錄
* 4.測試類的爆應該和被測試類保持一致
* 5.測試單元中的每個方法必須可以獨立測試,測試方法間不能有任何的依賴
* 6.測試類使用Test作為類名的后綴
* 7.測試方法使用test作為方法名的前綴
* 1.測試方法上必須使用@Test進行修飾
* 2.測試方法必須使用public void 進行修飾,不能待任何的參數
* 3.新建一個源代碼目錄
* 4.測試類的爆應該和被測試類保持一致
* 5.測試單元中的每個方法必須可以獨立測試,測試方法間不能有任何的依賴
* 6.測試類使用Test作為類名的后綴
* 7.測試方法使用test作為方法名的前綴
2016-01-11
使用Myeclipse2015 配置spring、hibernate 是不需要再次添加spring持久化包的 親測可用。
2015-12-26