您能否设置一个TestNG运行配置,并尝试勾选下面图片中的Group单选按钮? http://www.jetbrains.com/idea/features/screenshots/70/TestNG/tngRunConfig.gif