我成功地从eclipse市场安装了TestNG,但是无法在windows-preference中看到TestNG。我有eclipse neon和最新的jdk版本java SE 8u121。有没有人知道?
答案 0 :(得分:0)
package gmail;
import org.testng.annotations.Test;
public class gmailLoginTestNG {
@Test
public void test1()
{
System.out.println("Within Test 1");
}
@Test
public void test2()
{
System.out.println("Within Test 2");
}
@Test
public void test3()
{
System.out.println("Within Test 3");
}
}
Let me know if this helps you.