Maven is installed and build is successful. I am making Maven project with Testng and trying to execute testcase.
If run through Eclipse , gets executed perfectly. But if executed through command prompt using maven -mvn compile and mvn test -build is successful, but the test case is not executed.
Surefire-report is also getting created and shows no test case being executed.
Has anybody faced and solved the similar issue.TIA.
Instructor
Ashish Thakur Replied on 24/06/2019
You can alternatively use ant for running tests.