Search
Thursday 24 May 2018
  • :
  • :

The Do’s and Don’ts of Regression Testing? Best Practices!

The Do’s and Don’ts of Regression Testing? Best Practices!

Regression means retesting the unchanged parts of the application after you have completed a change. Regression Testing is the one in which test cases are re-executed in order to check whether the new changes added to the application have not introduced any new bugs. This test can be performed on a new build when there is a significant change in the original functionality or even in a single bug fix update.

In short, you perform regression testing by re-executing the same tests after each update. Passing these added tests ensure that your code continues to function as expected. Once a test that passed during previous functional testing runs shows a failure, you know that you’re dealing with a regression.

Best Practices for ensuring your functional testing and regression testing is working: As a rule, it’s a good practice to run tests before the release of every new version of your product and to run tests after you make significant changes to the application.

A typical strategy for Regression testing incorporates the following stages:

  • Selecting which portions of the system to retest
  • execution of test cases (manually or automated).

Another important thing to take note of: Most common theories state; regression testing applies to any testing level, including unit, API/integration, system and acceptance testing. There is a widespread convention, though, that regression testing is mostly a part of system testing.

Regression Testing Best practice #1. Remember about ROI

In your project, there is only real-life scenarios.  Your return of investment is determined by a few factors and each of them is looked at from a ROI perspective.  When it comes to testing, ROI is a metric that should go well beyond the choice between manual and automated QA.

You need to understand about all expenses associated with your automation tools. Also, included in your costing of the project how much time and how many specialists will you need to run testing suite? Asking yourself questions of this sort will help you build an efficient and cost-effective testing strategy.

Best practice #2. Automate everything! 

Yes, you can manually regression test your project.  But, integrating as much automated testing, is helpful to speeding up the testing and keeping the project running smoothly. So, automate everything you can. It’s next to impossible to eliminate the need for manual testing altogether, but, you can keep the number of manual tests to a minimum. Your testing partner will help you develop a strategy for determining which tests to automate and which tests to execute manually.

The most common areas that require automation in 99.99% of cases include:

  • Run tests after a bug fix or a minor update.
  • Run the same regression tests on different platforms. This includes different operating systems, browsers, and devices.
  • Data-driven testing;  test how your application handles different input data.

Best practice #3. Keep your regression test suites up to date

As you work on your project and it grows, some of the functionality may suffer from neglect due to the project size.  You will need to use a continuous testing strategy to your test suites.  Some of the tests may become obsolete or unnecessary. QA will need to stay on-top of these processes and revise their regression test suites.

Best practice #4. A diversified automation toolkit to increase success

The best test automation strategy will is not the same for everyone! You will have to choose carefully to address the many different types of testing you will have to do, and the tools to handle them.  Selenium-like frameworks will cover unit and API-level tests, but functional and UI testing will work better with Telerik or Cucumber which focuses on the user experience.   To allow QAs the ability to quickly edit test suites you should have a record-playback platform.  Specifically, a record-playback feature within your testing automation will address the low maintainability of UI tests.

Best practice #5. Understanding your User to guide your testing paths

Understanding your users will help you determine the path for your testing strategy.  Having a clearly define testing path to ensure your users are happy is a good practice.  The typical examples of these scenarios include signing in or adding items to a shopping card.

In real-life projects, automated tests often revolve around happy paths. Leaving manual testing for the around the edge cases is a good practice. A clear understanding of which test scenarios are important  stems from the understanding of who your users are.

Looking for a partner who can perform your functional testing to ensure your products are up-to-speed with the latest needs?  Telliant System’s testing and QA team is ready to help!




Leave a Reply

Your email address will not be published. Required fields are marked *