A single java file is not running using maven | Selenium Forum
Posted on 28/08/2015
If I want to execute single java file using maven with command prompt it executing all the java class file present in com.learntestng package even I have putted only one class in testng.xml of src/test/resources.Where is the mistake I have made? Please refer snapshots I have attached.

Replied on 28/08/2015

In Surefire report the no. of tests passed is 3. AppTest java file is executed I think two times.Where is the problem? What are the solution to remove these issues?

Responsive image

Replied on 31/08/2015

the issue might be in different part of project. zip your project and upload it here I'll have a look at it.