MVN Package does not run Tc's | Selenium Forum
M
Posted on 11/10/2016
Hello Ashish,

I created a MVN project using mvn archtype command. I created the eclipse version and imported the Project. I modifed the pom.xml for respective dependencies and created One testng test to check if it works. So when i run the mvn compile and then mvn Package or test command, it says build success but does not run tc's. Then i tried to modify the testng.xml to include the tc and included this reference in pom.xml but stil when wi run the mvn commands my tc does not run. How ever if i run individually from eclipse it runs.

Any clue?

M
Replied on 11/10/2016

Hi Ashish,

Got the problem. I had not mentioned "Test" in my class name so it was not running. i change the class name to include the word Test it works.

Thnaks