A single java file is not running using maven | Selenium Forum
M
Posted on 28/08/2015
Hi,
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.

M
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

M
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.