2009-02-20

junit 4 使用

NOTE:
junit 4 中
1. 测试类不需要继承 TestCase,直接在方法前用 @Test 即可。
2. @BeforeClass, @AfterClass 方法需要是 public static 的。

//EOF

0 comments: