Skip to main content

What is regression testing? What are some examples?

Regression Testing is a software testing type to confirm that a current program or code change has not unfavorably affected existing features. In Regression Testing test cases are re-executed to check whether the previous functionality of the app is working well and the new changes have not introduced any new flaws or bugs.

Regression testing attempts to mitigate two major risks:

· A modification that was intended to fix a bug failed
· Some change had an adverse effect, introducing a new bug or unfixing an old bug

Necessities of Regression Testing:

Regression Testing is required when there is a

· Performance issue fix
· Defect fixing
· Change in needs and code is modified according to the condition
· New feature is added to the software

The short examples illustrating the use of regression tests:

· Reappearance of a WinAmp ID3 HTML Bug
· Removing Form Data in FireBird and Firefox
· Reappearance/Mutation of Buffer Overflow in ID3v2 tags

Some broad regression testing examples are here:

1. When new functionalities are added to the app- For instance, a website has a login functionality that allows users to do login only with Email. Now the new features look like “providing a new feature to do login using Gmail or Facebook”.

2. When there is a Performance Issue Fix- For instance- Loading the home page takes 5 seconds. Reducing the load time to 2 seconds

3. When there is a change in the environment- For instance: Updating the Database from MySQL to Oracle)

Regression Testing Best Practices:

As you and your team perform regression testing, there are some best practices to bear in mind.
  • Regularly Update Your Regression Pack: A Regression testing can be time-consuming work, the last thing you need is to include tests that check whether an older feature that has been removed is still working.
  • Concentrate on Highly-Trafficked Paths: Your regression pack must include tests that ensure this core functionality is working as it should.
  • Re-Run Successful Test Cases: Tests that have previously identified bugs and defects are also worth including in your regression pack.
  • Automate regression testing: Automated regression testing can make the process much more efficient. Running the same tests over and over again can result in testers becoming bored and losing motivation. Automation software can handle more tedious tests.
At last in simple terms, we conclude that regression testing will be conducted after any bug fixed or any functionality changed.

Comments


  1. Software regression testing should be performed and taken up as soon as the programmer adds new functionality to an application. This is because of the dependency between the newly added and previous functionality that is critical for the software to function according to the requirements defined.

    ReplyDelete

Post a Comment

Popular posts from this blog

What is the Scope of Automation Testing or Manual Testing in the Future?

Scope of automation testing in the future E ver since technology is progressing at a speedy pace, the demand for getting projects done quicker has increased more than ever. To get projects done fast, the complete procedures followed during a software life cycle needs to become accelerated as well. In the area of software testing, automation can be implemented to save cost and time but only when used in time-taking projects. When it comes to performing regression testing, large scale testing, automation testing is the way to go. It can be a good choice. There are a number of necessary advantages from test automation like Increases the software quality, lessens manual software testing operations and eradicate redundant testing efforts, create extra systematic repeatable software tests, Minimising repetitive work, and generate more consistent testing outcomes, higher consistency.  Execute more software tests and accomplish better testing coverage in a very limited sche

Top 10 UI Automation Tools You Should Try

As applications are designed and developed for varied platforms, spanning mobile, desktop, and cloud. Testing the user interface has turned into an increasingly complicated and risk-prone job. While having its series of challenges and loopholes, automated UI testing is gaining traction. UI test tools can effortlessly help in automated tests of software and applications that contain user interfaces.  These mind-blowing software testing tools utilize test cases to make sure that the software and application meet its specification and performs the proposed functions. Such test automation tools not only provide smart automation but also offer intelligent analytics to address any test challenges. Statistics Overview Some stats that prove that UI should not be taken lightly ever: • By 2020, there will be around 6.1 billion Smartphone users • 75% of all site traffic at present mainly runs through search engine-Google • 90% of audiences stopped using applicat

What is the difference between TestNG and Maven?

TestNG and Maven  are two entirely  different  things. TestNG is a testing framework inspired from NUnit and JUnit but presenting some new functionality that makes it simply easy, effortless, and powerful to use. TestNG is also an open-source automated test framework; wherein NG of TestNG signifies Next Generation. TestNG is exactly the same as JUnit but it is much more robust than JUnit but still, it’s inspired by JUnit.  This is specifically well-designed to be better than JUnit, particularly when testing integrated classes. TestNG eradicate most of the negative traits of the older framework and gives the developer the ability to write powerful and flexible tests with help of easy annotations, sequencing, grouping, & parametrizing. Benefits of TestNG Some of the major advantages of TestNG are : Annotations made testers life simple Test cases can be Grouped & Prioritized more easily Gives the ability to produce HTML Reports of execution The possibility of the