regression testingg code example
Example 1: what is regression testing
Regression testing is testing existing
software applications to make sure that
a change or addition hasn’t broken any
existing functionality. Its purpose is
to catch bugs that may have been accidentally
introduced into a new build or release candidate,
and to ensure that previously eradicated
bugs continue to stay dead.
Example 2: regression test
Regression Test
To check if the new functionality works with the old ones.
Regression testing is testing existing
software applications to make sure that
a change or addition hasn’t broken any
existing functionality.
Regression also happens when there is a major bug fix.
Around 300 feature files and 700 scenarios.
Regression tests are kicked off by Jenkins.
Tests are executed on the Jenkins server (VM).
The latest run took more than 5 hours.
The maven command includes that tag name:
mvn test -D cucumber.options =”--tags @Regression”.
At the end of the execution, jenkins generates
HTML report with detailed tests steps and screenshots