20222022 19th International Bhurban Conference on Applied Sciences and Technology (IBCAST)Requires access

A Requirement Based Approach to Test Case Prioritization for Regression Testing

Misbah Naheed, Aamer Nadeem, Qamar Zaman

Open publisher page 8 citations

Abstract

Testing is the strategy wherein a program is executed fully intent on tracking down bugs. Whenever modification is done it is verified again to ensure that there are no new flaws have emerged in the previously tested code and that it continues to function effectively. This kind of testing is called regression testing. Original program may have many test cases and executing the whole test suite may increase the cost of testing. Regression test selection, test suite minimization and the test case prioritization are three strategies of regression testing which lower cost of regression testing. In test case selection and minimization techniques, only few test cases are chosen and the leftover test cases are squandered. The risk is that useful test cases with respect to fault detection may be discarded while in prioritization the software tester prioritizes the test and test cases that are more suitable to detect errors early are run first. There is no risk of important test case elimination in this technique as compared to other techniques. Therefore, test case prioritization is more effective and time saving. In test case prioritization technique important test cases are placed first in the prioritization list. Maximize early fault detection is goal of prioritization. In prioritization, technique test cases are ranked according to some coverage criteria. Existing techniques use total coverage strategy for prioritization of test cases by considering the total number of requirements covered. There may be more than one test case that covers the same requirements. Therefore, there is a possibility to repeat the test cases that cover same requirements, which is not desirable. In this research, we offer a new test case prioritizing technique based on prioritized requirements. This algorithm uses the "Additional" coverage strategy. Test case that covers the most requirements and has the highest weight is given high priority by our algorithm. Our suggested prioritization algorithm outperforms than existing techniques as it gives earlier coverage of requirements.

About this research paper

What this paper is about

Testing is the strategy wherein a program is executed fully intent on tracking down bugs. Whenever modification is done it is verified again to ensure that there are no new flaws have emerged in the previously tested code and that it continues to function effectively. This kind of testing is called regression testing. Original program may have many test cases and executing the whole test suite may increase the cost of testing. Regression test selection, test suite minimization and the test case prioritization are three strategies of regression testing which lower cost of regression testing. In test case selection and minimization techniques, only few test cases are chosen and the leftover test cases are squandered. The risk is that useful test cases with respect to fault detection may be discarded while in prioritization the software tester prioritizes the test and test cases that are more suitable to detect errors early are run first. There is no risk of important test case elimination in this technique as compared to other techniques. Therefore, test case prioritization is more effective and time saving. In test case prioritization technique important test cases are placed first in the prioritization list. Maximize early fault detection is goal of prioritization. In prioritization, technique test cases are ranked according to some coverage criteria. Existing techniques use total coverage strategy for prioritization of test cases by considering the total number of requirements covered. There may be more than one test case that covers the same requirements. Therefore, there is a possibility to repeat the test cases that cover same requirements, which is not desirable. In this research, we offer a new test case prioritizing technique based on prioritized requirements. This algorithm uses the "Additional" coverage strategy. Test case that covers the most requirements and has the highest weight is given high priority by our algorithm. Our suggested prioritization algorithm outperforms than existing techniques as it gives earlier coverage of requirements.

Why it matters

OpenAlex reports 8 citations for this work. Citation counts describe recorded attention and do not establish research quality.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

Testing is the strategy wherein a program is executed fully intent on tracking down bugs. Whenever modification is done it is verified again to ensure that there are no new flaws have emerged in the previously tested code and that it continues to function effectively. This kind of testing is called regression testing. Original program may have many test cases and executing the whole test suite may increase the cost of testing. Regression test selection, test suite minimization and the test case prioritization are three strategies of regression testing which lower cost of regression testing. In test case selection and minimization techniques, only few test cases are chosen and the leftover test cases are squandered. The risk is that useful test cases with respect to fault detection may be discarded while in prioritization the software tester prioritizes the test and test cases that are more suitable to detect errors early are run first. There is no risk of important test case elimination in this technique as compared to other techniques. Therefore, test case prioritization is more effective and time saving. In test case prioritization technique important test cases are placed first in the prioritization list. Maximize early fault detection is goal of prioritization. In prioritization, technique test cases are ranked according to some coverage criteria. Existing techniques use total coverage strategy for prioritization of test cases by considering the total number of requirements covered. There may be more than one test case that covers the same requirements. Therefore, there is a possibility to repeat the test cases that cover same requirements, which is not desirable. In this research, we offer a new test case prioritizing technique based on prioritized requirements. This algorithm uses the "Additional" coverage strategy. Test case that covers the most requirements and has the highest weight is given high priority by our algorithm. Our suggested prioritization algorithm outperforms than existing techniques as it gives earlier coverage of requirements.

Key concepts: Regression testing, Test suite, Test Management Approach, Reliability engineering, Computer science, Risk-based testing, Test script, Test (biology)

Related papers

Back to paper searchBrowse research topicsOriginal source
A Requirement Based Approach to Test Case Prioritization for Regression Testing — Research Paper | ScholarLens