如何在Intellij中启用testng支持?

时间:2014-02-03 16:38:18

标签: intellij-idea testng

任何人都可以帮助我在intellij中为TestNG提供支持吗?我正在使用Intellij 13.0.1 Ultimate。

我的项目有一个包含Maven: org.testng:testng:6.8.5

的testng(testng-6.8.5.jar)库

如果我将鼠标悬停在@Test注释上,我会看到:[Maven: org.testng:testng:6.8.5] org.testng.annotations public @interface Test

但右键单击时没有运行测试选项。在运行/调试配置中,没有提到testng。怎么做??

1 个答案:

答案 0 :(得分:0)

ctrl + alt + s >插件>找到 TestNG-J 启用