Using Fuzzy Logic in Test Case Prioritization for Regression Testing Programs with Assertions

Program assertions have been recognized as a supporting tool during software development, testing, and maintenance. Therefore, software developers place assertions within their code in positions that are considered to be error prone or that have the potential to lead to a software crash or failure....

Full description

Saved in:
Bibliographic Details
Main Author: Ali M. Alakeel
Format: Article
Language:English
Published: Wiley 2014-01-01
Series:The Scientific World Journal
Online Access:http://dx.doi.org/10.1155/2014/316014
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832549487607808000
author Ali M. Alakeel
author_facet Ali M. Alakeel
author_sort Ali M. Alakeel
collection DOAJ
description Program assertions have been recognized as a supporting tool during software development, testing, and maintenance. Therefore, software developers place assertions within their code in positions that are considered to be error prone or that have the potential to lead to a software crash or failure. Similar to any other software, programs with assertions must be maintained. Depending on the type of modification applied to the modified program, assertions also might have to undergo some modifications. New assertions may also be introduced in the new version of the program, while some assertions can be kept the same. This paper presents a novel approach for test case prioritization during regression testing of programs that have assertions using fuzzy logic. The main objective of this approach is to prioritize the test cases according to their estimated potential in violating a given program assertion. To develop the proposed approach, we utilize fuzzy logic techniques to estimate the effectiveness of a given test case in violating an assertion based on the history of the test cases in previous testing operations. We have conducted a case study in which the proposed approach is applied to various programs, and the results are promising compared to untreated and randomly ordered test cases.
format Article
id doaj-art-0909f6d494384def8b3cc9a68b644079
institution Kabale University
issn 2356-6140
1537-744X
language English
publishDate 2014-01-01
publisher Wiley
record_format Article
series The Scientific World Journal
spelling doaj-art-0909f6d494384def8b3cc9a68b6440792025-02-03T06:11:08ZengWileyThe Scientific World Journal2356-61401537-744X2014-01-01201410.1155/2014/316014316014Using Fuzzy Logic in Test Case Prioritization for Regression Testing Programs with AssertionsAli M. Alakeel0Faculty of Computing and Information Technology, University of Tabuk, P.O. Box 1458, Tabuk 71431, Saudi ArabiaProgram assertions have been recognized as a supporting tool during software development, testing, and maintenance. Therefore, software developers place assertions within their code in positions that are considered to be error prone or that have the potential to lead to a software crash or failure. Similar to any other software, programs with assertions must be maintained. Depending on the type of modification applied to the modified program, assertions also might have to undergo some modifications. New assertions may also be introduced in the new version of the program, while some assertions can be kept the same. This paper presents a novel approach for test case prioritization during regression testing of programs that have assertions using fuzzy logic. The main objective of this approach is to prioritize the test cases according to their estimated potential in violating a given program assertion. To develop the proposed approach, we utilize fuzzy logic techniques to estimate the effectiveness of a given test case in violating an assertion based on the history of the test cases in previous testing operations. We have conducted a case study in which the proposed approach is applied to various programs, and the results are promising compared to untreated and randomly ordered test cases.http://dx.doi.org/10.1155/2014/316014
spellingShingle Ali M. Alakeel
Using Fuzzy Logic in Test Case Prioritization for Regression Testing Programs with Assertions
The Scientific World Journal
title Using Fuzzy Logic in Test Case Prioritization for Regression Testing Programs with Assertions
title_full Using Fuzzy Logic in Test Case Prioritization for Regression Testing Programs with Assertions
title_fullStr Using Fuzzy Logic in Test Case Prioritization for Regression Testing Programs with Assertions
title_full_unstemmed Using Fuzzy Logic in Test Case Prioritization for Regression Testing Programs with Assertions
title_short Using Fuzzy Logic in Test Case Prioritization for Regression Testing Programs with Assertions
title_sort using fuzzy logic in test case prioritization for regression testing programs with assertions
url http://dx.doi.org/10.1155/2014/316014
work_keys_str_mv AT alimalakeel usingfuzzylogicintestcaseprioritizationforregressiontestingprogramswithassertions