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

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

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

Error 1 - Results shows 0 test execution count:

[TestNG] Running:

======================================

Suite

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

======================================

Originally posted at: https://www.linkedin.com/feed/update/urn:li:activity:6389872247590490112/

2 Answers

0
0
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;
answered by (29 points)
edited by
0
0
hi is ther any solution for above issue
answered by
1Comments
commented by (877 points)
what is the error that you are facing? Kindly create a new thread with your question and as much details as possible here, ://softwaretestingboard.com/qna/ask

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.
...