Hi I have 4 test cases that needs to be executed and when I run the command mvc test, I am not seeing the test cases run as 4 instead it is showing as zero
I am attaching screenshot of pom and also attached pom
can any one please help regarding this
please find attached screenshot in cmd
InstructorSupport Team Reply on 16/03/2020
You need to configure maven pom.xml for picking testng.xml.
See below for reference
<plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.1</version> <configuration> <suiteXmlFiles> <suiteXmlFile>testng.xml</suiteXmlFile> </suiteXmlFiles> </configuration> </plugin>