How did Gradle regarding listing tests to be run with TestNG?


(spacemonkey3) #1

Hi, I am new for Gradle and have a question wish someone can answer me :slight_smile:

How did Gradle regarding listing tests to be run with TestNG? For instance, I have

@Test(groups = {“helpers”}) for the class and @Test(groups = {“positive”}) and @Test(groups = {“negative”} for several methods,

how did Gradle know which one will be run first and so on OR I can run only one method.

I mean did it has a document such as XML file that Gradle can follow it? Thanks a lot.

Cheers,

Dan