Relative Content

Tag Archive for selenium-webdrivertestngjava-17

“No tests were found” when running tests via TestNG

I am trying to run a test case using TestNG and it is constantly unrecognized when I try to run it from the test file itself or using “mvn clean test”. I’ve read a question similar to this and ensured to remove all JUnit dependencies, but the problem still persists. (Note: I was using JUnit previously and switched to TestNG)