Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

Total tests run: 0, Failures: 0, Skips: 0

Open 1 Answers 52 Views
0 1
Most common errors faced in TestNG execution (CI as well as standalone execution):

Error 1 - Results shows 0 test execution count:

[TestNG] Running:



Total tests run: 0, Failures: 0, Skips: 0


Originally posted at:

1 Answer

From, Arunkumar Velusamy (

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;
answered by (29 points)
edited by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.