谁给我讲下junit 在测试DAO 方法怎么测试呢
栋栋 2011-02-22 09:45:19 就是在测试dao方法是 用junit怎么测试呢?搞了好几天了,报告倒是生成了,测试还没弄!下面是Junit 生成的
方法怎么写呢?
public class IPageDaoTest {
@Before
public void setUp() throws Exception {
}
@Test
public void testGetTopHotCloudService() {
}
@Test
public void testGetWebInfoList() {
}
@Test
public void testGetWebInfo() {
}
@Test
public void testGetTopCloudService() {
}
@Test
public void testGetTempletes() {