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