Cargando…
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....
Autor principal: | |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Hindawi Publishing Corporation
2014
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4030509/ https://www.ncbi.nlm.nih.gov/pubmed/24883383 http://dx.doi.org/10.1155/2014/316014 |
_version_ | 1782317400552636416 |
---|---|
author | Alakeel, Ali M. |
author_facet | Alakeel, Ali M. |
author_sort | Alakeel, Ali M. |
collection | PubMed |
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 | Online Article Text |
id | pubmed-4030509 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2014 |
publisher | Hindawi Publishing Corporation |
record_format | MEDLINE/PubMed |
spelling | pubmed-40305092014-06-01 Using Fuzzy Logic in Test Case Prioritization for Regression Testing Programs with Assertions Alakeel, Ali M. ScientificWorldJournal Research Article 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. Hindawi Publishing Corporation 2014 2014-04-27 /pmc/articles/PMC4030509/ /pubmed/24883383 http://dx.doi.org/10.1155/2014/316014 Text en Copyright © 2014 Ali M. Alakeel. https://creativecommons.org/licenses/by/3.0/ This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. |
spellingShingle | Research Article Alakeel, Ali M. Using Fuzzy Logic in Test Case Prioritization for Regression Testing Programs with Assertions |
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 |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4030509/ https://www.ncbi.nlm.nih.gov/pubmed/24883383 http://dx.doi.org/10.1155/2014/316014 |
work_keys_str_mv | AT alakeelalim usingfuzzylogicintestcaseprioritizationforregressiontestingprogramswithassertions |