+ 11

Maven + TestNG possible?

I have test cases to run in maven but I want some features of testng in maven like organising test cases and reporting them How can I achieve this?

27th May 2017, 2:12 AM
Prudhvi Raaj
Prudhvi Raaj - avatar
1 Respuesta
+ 1
maven supports such feature what u want. we can include necessary dependency and plugin in the pom.xml surefire for unit test and failsafe plugin for integration test cases. u can refer maven cmd to run the test cases as u want. u can skip the test cases by mvn -Dskiptest. pls let me know if u have any doubts.
5th Jun 2017, 3:27 PM
Nanda Balakrishnan