regression testing command jenkins code example
Example 1: regression testing command jenkins
For Cucumber Framework:
verify -Dcucumber.options="--tags @regression" or
verify -Dfile = "RegressionRunner.java" ==>
If you have a seperate RegressionRunner class in your framework
For TestNG Framework:
test -Drunner=regression_runner.xml
test -Drunner=smoke_runner.xml
Example 2: what is the command for regression test in jenkins
For Cucumber Framework:
verify -Dcucumber.options="--tags @regression" or
verify -Dfile = "RegressionRunner.java" ==>
If you have a seperate RegressionRunner class in your framework
For TestNG Framework:
test -Drunner=regression_runner.xml
test -Drunner=smoke_runner.xml