This video will explain how to group tests in TestNG and also know how to run group of tests using testNG.xml and also using Maven command line.
Know how to use | include or exclude groups of tests using Sure-Fire-Plugin
Blog -
https://qavalidation.com/2015/07/test...
https://maven.apache.org/surefire/mav...
https://maven.apache.org/surefire/mav...
http://maven.apache.org/surefire/mave...