How Can I Run A TestNG TestSuite Without An XML File?
Answered
I want to specify my TestNG tests in Java and not in xml, similar to how I can do it with JUnit;
@RunWith(Suite.class)
@Suite.SuiteClasses({
TestOne.class,
TestTwo.class
})
public class JUnitTestSuite {
}
Stackoverflow seems to think that this is a problem with the IDEA plugin
Is there a way to do it in IDEA?
Please sign in to leave a comment.
No, IDEA can't run TestNG suites without the XML.