Regression Test Selection Techniques |Professionalqa.com (2024)

June 17, 2019

What is Regression Testing?

A technique adopted to validate the unmodified portions of a software product ensuring that no new bugs have arrived and that they remain intact and unaffected is known as regression testing. It can be classified as one of the software maintenance activities, which is carried out by selecting appropriate test selection algorithms, to reduce the time taken to test the changes that took place on account of feature addition or modification.

"Regression testing" can be a time consuming and lengthy process as it involves implementation of test cases for the whole program repeatedly unless we are sure that the software product is error free. The reason that a 'regression test selection' process is undertaken is due to the fact that a handful of test cases will actually serve the purpose of retesting the existing software to ensure that the portions of changes is not interfering with the unmodified sections of the application.

Regression Test Selection Techniques |Professionalqa.com (1)

The test cases for 'regression testing' is chosen from among the list of scenarios that have been modified or updated recently. Test cases are thus prioritized as per requirements by applying a suitable regression test approach.

Software Maintenance Activities:

  • Software Release and User Feedback - Once a software product is released, the software product is at the discretion of the end user. The user provides the necessary feedback regarding the functioning of the software product. Reports bugs and flaws, if any.
  • Change Requirements - The next step is to figure out the areas of change, which portion of the program needs modifications and what amount of time needs to be invested.
  • Changes in Code - It's now time for actually modifying the product in accordance with the change specifications laid down.
  • Finding a Resolution -If any unresolved task remains at the developer's end with respect to the change requests, then those issues are addressed first.
  • Regression Testing - Now we perform regression test on the modified portions of the software product and see if any bugs arise during this process, and hence we fix it.

The above sequence of activities is a process of processing, analyzing, and finding a solution to the software product.

Regression Test Selection:

This is a way of selecting the most appropriate test case to ensure that it delivers the correct result.It thus enables a tester to select a valid set of test cases to make sure the unmodified part of the program is error free.

So we can categorize the concept of test selection for regression testing into two broad categories:

  • Identify the affected parts of the program - When a particular module is changed, other parts of the program are bound to be affected. It is time for the identification of bugs in the unmodified parts of the program.
  • Test Case Selection -Involves a selection of "test cases" from an already defined "test suite".

Here we can state another interesting concept, that is, Test- Driven Development. This is a method of execution of test cases repeatedly, to ensure the right product is being built.

So if we try to define it in a bit more mathematical way, we can say, regression test selection comprises selecting a subset T' of the actual test suite T. Hence T' may contain few test cases {t1,t3,t4} , those test cases that will help us to manage our unmodified part of program.

There can be various approaches to test case selection. We may understand the concept by focusing on one of the many approaches.

For instance, we have a test suite T with test cases {t1,t2,t3,t4,t5}.

When applying regression testing, we may need the only {t1,t2} out of all the test cases, which are considered to solve our purpose.


Regression Test Selection Techniques |Professionalqa.com (2)

Few Regression Test Selection Algorithms used:

  • Safe - The first approach considers a regression test selection technique, which includes all those test cases which cover the modified methods at least once.
  • Minimization - Selects minimum number of those test cases that execute all the modified portions.
  • Random 25% - Selects 25% of the total number of test cases.
  • Random 50% - Selects 50% of the total number of test cases.
  • Random 75% - Selects 75% of the total number of test cases.

These selection techniques provide a very controlled environment for identifying the faults in a given program.

Regression test selection can further be categorised into three categories:

  • Coverage Techniques: It is based on "coverage" criteria. These include coverable components for the modified portion if the program.
  • Minimisation Technique: Works similar to a coverage technique however, it is based on the selection of a minimum number of test cases.
  • Safe Techniques: Unlike coverage technique, it selects those test cases that cause a modified program to produce different output other than the original program.

The parameters which form the basis of comparison and evaluation of the selection techniques are as follows:

  • Inclusiveness: Analyses the extent to which a test case selection will cause the modified program to produce different output other than the original. Helps to capture faults caused as a result of modifications.
  • Precision Those test cases are not selected that won't produce a different output than the original one.
  • Efficiency: Calculates the cost of computing and practicality of adopting a technique.
  • Generality: Ability of a technique to handle varied language constructs, complex changes in the system.

Summary:

The above analysis about regression test selection brings out the core idea behind regression testing, the selection criteria involved and the ways to counter the issues involved. Regression testing can be thought of as a backbone to the entire process of "software maintenance". It is a technique for solving the issues left out while in the software development phase.


Regression Test Selection Techniques |Professionalqa.com (3)

Regression Test Selection Techniques |Professionalqa.com (4)



Regression Test Selection Techniques |Professionalqa.com (5)

Regression Test Selection Techniques |Professionalqa.com (6)


Regression Test Selection Techniques |Professionalqa.com (2024)
Top Articles
My Money Map — Millennial Money Honey
SmartAsset financial adviser review March 2024 | finder.com
Bulls, Nikola Vučević agree to 3-year, $60 million extension: Sources
Amazon Ups Drop Off Locations Near Me
Capernaum - Stadt der Hoffnung
Gdp E124
Interview with Valeria Golino, member of the Feature Films Jury - Festival de Cannes
Governor Brown Signs Legislation Supporting California Legislative Women's Caucus Priorities
Etty Ausch Custody Update 2022
Rauw Alejandro New Song 2022
How Much Money Is 800K Pennies
Lohikeitto (Finnish Salmon Soup) Recipe on Food52
What does FOW stand for?
Bone Of The Ancients
Mugshot Zone Rappahannock Regional Jail
Flights To Frankfort Kentucky
Gotcha Paper 2022 Danville Va
Oh When Your Cold I'll Be There
Events • Constellation
Cars Under $1000 On Craigslist
Mehwish Hayat Boobs
Cavallo Terrace Rv Park
Fashion Land Elite Modeling Agency
Peoria | Illinois, Map, Population, & History
Oodweynenews
Where To Buy Patti Labelle Sweet Potato Pie - PieProNation.com
Conan Exiles Change Horse Color
Marina Mascarenhas (Nina) on LinkedIn: Changing jobs wasn’t originally in my 2024 plans, but I truly believe in… | 62 comments
Barbie Showtimes Near Cmx Hollywood 16 & Imax
5 Things You Didn’t Know About Your Belly Button
Brett Cooper Wikifeet
Farosh's Horn Botw
Hot Rod Dreamworks & Collision Repair Llc
Comcast Business Downdetector
Carrier Grenade 9419
Cocaine Bear Showtimes Near Phoenix Theatres Laurel Park
Rockin That Orange Jumpsuit Suwannee County
Where Do Red Foxes Live Map
Clothes Mentor Arlington Texas
Yh50 Pill
Nails For You, 836 Goodman St N, Rochester, NY 14609, US - MapQuest
Vip Market Vetsource
Rok Gold Head Calculator
Ja Rule Net Worth (Money & Salary) 2024
Blowsxjoz
Vehicle Upgrade Console
Odu Csnbbs
Bound Weapons Mod Skyrim
1V1 Google Classroom
Www.pfmlogin.com Driver Center Login
In Control Lyrics Nba Youngboy
Latest Posts
Article information

Author: Rubie Ullrich

Last Updated:

Views: 6226

Rating: 4.1 / 5 (52 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Rubie Ullrich

Birthday: 1998-02-02

Address: 743 Stoltenberg Center, Genovevaville, NJ 59925-3119

Phone: +2202978377583

Job: Administration Engineer

Hobby: Surfing, Sailing, Listening to music, Web surfing, Kitesurfing, Geocaching, Backpacking

Introduction: My name is Rubie Ullrich, I am a enthusiastic, perfect, tender, vivacious, talented, famous, delightful person who loves writing and wants to share my knowledge and understanding with you.