+ 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?
1 ответ
+ 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.