From, Arunkumar Velusamy (
https://www.linkedin.com/in/arunkumarvelusamy/)
There are many possible reasons for tests not executed:
1. There is no @Test annotated methods in class given in TestNG suite
2. @Test annotation is imported from JUnit package instead of TestNG
3. @Test method access specifier is not public
4. All tests or dependent tests are marked as "enabled = false". Example: @Test(enabled=false)
5. Classes or packages from which the groups would be picked up is not given; only groups tag is given;