Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
3.5k views
by Contributing Tester (29 points)
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 like 0 dislike
by Contributing Tester (29 points)
edited by
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;
0 like 0 dislike
by
hi is ther any solution for above issue
by Master (1.2k 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


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...