public class TestNgRunner
Integration code for running TestNG tests in Groovy.
Utility method to check via reflection if the parsed class appears to be a TestNG test, i.e.&nsbp;checks whether it appears to be using the relevant TestNG annotations.
scriptClass- the class we want to check
loader- the GroovyClassLoader to use to find classes