2014•International Journal of Software Engineering and Its ApplicationsRequires access

A New Code Based Test Case Prioritization Technique

Muhammad Shahid, Suhaimi Ibrahim

Open publisher page 8 citations

Abstract

Test Cases are treated as one of the most important part of software testing activity. They are responsible for the validation of the software under inspection. Test suites are also used to test changes in the source code during regression testing. In number of cases, the test suites are so big that executing all tests for every source code change is absurd. Developers/testers need to prioritize the test suite so that most beneficial test cases are executed first. This can result in increasing the effectiveness of testing and saving a lot of time and cost. In this paper, we introduce a new algorithm for test case prioritization that is based on the code coverage of the test cases. The test cases that cover maximum part of the code are considered more valuable. We applied this new algorithm to a case study. The results are very effective and promising.

About this research paper

What this paper is about

Test Cases are treated as one of the most important part of software testing activity. They are responsible for the validation of the software under inspection. Test suites are also used to test changes in the source code during regression testing. In number of cases, the test suites are so big that executing all tests for every source code change is absurd. Developers/testers need to prioritize the test suite so that most beneficial test cases are executed first. This can result in increasing the effectiveness of testing and saving a lot of time and cost. In this paper, we introduce a new algorithm for test case prioritization that is based on the code coverage of the test cases. The test cases that cover maximum part of the code are considered more valuable. We applied this new algorithm to a case study. The results are very effective and promising.

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

Test Cases are treated as one of the most important part of software testing activity. They are responsible for the validation of the software under inspection. Test suites are also used to test changes in the source code during regression testing. In number of cases, the test suites are so big that executing all tests for every source code change is absurd. Developers/testers need to prioritize the test suite so that most beneficial test cases are executed first. This can result in increasing the effectiveness of testing and saving a lot of time and cost. In this paper, we introduce a new algorithm for test case prioritization that is based on the code coverage of the test cases. The test cases that cover maximum part of the code are considered more valuable. We applied this new algorithm to a case study. The results are very effective and promising.

Key concepts: Regression testing, Test suite, Code coverage, Test (biology), Test Management Approach, Computer science, Code (set theory), Test case

Related papers

Back to paper searchBrowse research topicsOriginal source
A New Code Based Test Case Prioritization Technique — Research Paper | ScholarLens