TestNG with Cucumber
问题 I am running cucumber with testNG. CucumberRunner class extends AbstractTestNGCucumberTests and CucumberRunner class is specified in testNG.xml file. If I run a simple TestNG class with testNG.xml then output for testNG results gets displayed in console i.e Total tests run, Failures, Skips as shown below:- Test.java package com.cucumber.test; import org.testng.Assert; public class Test { @org.testng.annotations.Test public void test() { Assert.assertEquals(true, true); } } testNG.xml:- <