junit怎么用?我用myeclipse一步一步弄下去,生成下面的代码:
@BeforeClass
public static void setUpBeforeClass() throws Exception {
}
@AfterClass
public static void tearDownAfterClass() throws Exception {
}
@Before
public void setUp() throws Exception {
}
@After
public void tearDown() throws Exception {
}
@Test
public final void testFindnode() {
fail("Not yet implemented"); // TODO
}
@Test
public final void testGetDoc() {
fail("Not yet implemented"); // TODO
}
@Test
public final void testMain() {
fail("Not yet implemented"); // TODO
}
怎么会生成这样的代码?难道还要自己写代码?