針對不同Annotation提供了一些說明 @BeforeClass :- Run only 1 time before all the test cases of class. Can be used to initialize resources. @AfterClass :- Run only
- 6月 22 週一 201517:02
Junit Annotation的應用
- 6月 22 週一 201516:57
Junit 環境設定與安裝
作業環境: O.S.: Windows 7 IDE: Eclipse Luna 安裝環境: JDK:1.8 Junit:4 Junit套件可以使得專案開發完成後可以做單元測試 點選專案右鍵 Properties Java Build Path Add Library Junit Junit
1