Search based constrained test case selection using execution effort

被引:24
|
作者
de Souza, Luciano S. [1 ]
Prudencio, Ricardo B. C. [1 ]
Barros, Flavia de A. [1 ]
Aranha, Eduardo H. da S. [2 ]
机构
[1] Univ Fed Pernambuco, Ctr Informat Cln, Recife, PE, Brazil
[2] Univ Fed Rio Grande do Norte, Dept Informat & Appl Math, BR-59072970 Natal, RN, Brazil
关键词
Search Based Test Case Selection; Software Testing; Execution effort; Search based software engineering; REDUCTION;
D O I
10.1016/j.eswa.2013.02.018
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Software testing is essential to guarantee high quality products. However, it is a very expensive activity, particularly when manually performed. One way to cut down costs is by reducing the input test suites, which are usually large in order to fully satisfy the test goals. Yet, since large test suites usually contain redundancies (i.e., two or more test cases (TC) covering the same requirement/piece of code), it is possible to reduce them in order to respect time/people constraints without severely compromising coverage. In this light, we formulated the TC selection problem as a constrained search based optimization task, using requirements coverage as the fitness function to be maximized (quality of the resultant suite), and the execution effort (time) of the selected TCs as a constraint in the search process. Our work is based on the Particle Swarm Optimization (PSO) algorithm, which is simple and efficient when compared to other widespread search techniques. Despite that, besides our previous works, we did not find any other proposals using PSO for TC selection, neither we found solutions treating this task as a constrained optimization problem. We implemented a Binary Constrained PSO (BCPSO) for functional TC selection, and two hybrid algorithms integrating BCPSO with local search mechanisms, in order to refine the solutions provided by BCPSO. These algorithms were evaluated using two different real-world test suites of functional TCs related to the mobile devices domain. In the performed experiments, the BCPSO obtained promising results for the optimization tasks considered. Also, the hybrid algorithms obtained statistically better results than the individual search techniques. (C) 2013 Elsevier Ltd. All rights reserved.
引用
收藏
页码:4887 / 4896
页数:10
相关论文
共 50 条
  • [31] Test case generation based on mutations over user execution traces
    Paiva, Ana C. R.
    Restivo, Andre
    Almeida, Sergio
    SOFTWARE QUALITY JOURNAL, 2020, 28 (03) : 1173 - 1186
  • [32] Parallelized Execution of Serenity Framework Based Automated Test: A Case Study
    Sutapa, Fransiskus Anindita Kristiawan Pramana Gentur
    Kusumawardani, Suning
    Permanasari, Adhistya Erna
    2019 11TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY AND ELECTRICAL ENGINEERING (ICITEE 2019), 2019,
  • [33] Automation Architecture for Bayesian Network Based Test Case Prioritization and Execution
    Ufuktepe, Ekincan
    Tuglular, Tugkan
    PROCEEDINGS 2016 IEEE 40TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE WORKSHOPS (COMPSAC), VOL 2, 2016, : 52 - 57
  • [34] Test case generation based on mutations over user execution traces
    Ana C. R. Paiva
    André Restivo
    Sérgio Almeida
    Software Quality Journal, 2020, 28 : 1173 - 1186
  • [35] Automated test case selection based on subpurposes
    Csöndes, T
    Kotnyek, B
    TESTING OF COMMUNICATING SYSTEMS: METHODS AND APPLICATIONS, 1999, 21 : 251 - 265
  • [36] Validation Test Case Selection Based on Multifactor
    Yao Yujie
    Pei Shuwei
    Liu Huanmin
    Zhu Xiaoran
    Zhang Juan
    2016 2ND IEEE INTERNATIONAL CONFERENCE ON COMPUTER AND COMMUNICATIONS (ICCC), 2016, : 852 - 855
  • [37] Case and feature subset selection in case-based software project effort prediction
    Kirsopp, C
    Shepperd, M
    RESEARCH AND DEVELOPMENT IN INTELLIGENT SYSTEM XIX, 2003, : 61 - 74
  • [38] Aiding Test Case Generation in Temporally Constrained State Based Systems Using Genetic Algorithms
    Derderian, Karnig
    Meravo, Mercedes G.
    Hierons, Robert M.
    Nunez, Manuel
    BIO-INSPIRED SYSTEMS: COMPUTATIONAL AND AMBIENT INTELLIGENCE, PT 1, 2009, 5517 : 327 - +
  • [39] Model synthesis for the test case generation as well as test execution using methods for network analysis
    Magnus, Stephan
    Russ, Tim
    Krause, Jan
    Diedrich, Christan
    AT-AUTOMATISIERUNGSTECHNIK, 2017, 65 (01) : 73 - 86
  • [40] A Tool for Constrained Pairwise Test Case Generation Using Statistical User Profile Based Prioritization
    Nakornburi, Sompong
    Suwannasart, Taratip
    2016 13TH INTERNATIONAL JOINT CONFERENCE ON COMPUTER SCIENCE AND SOFTWARE ENGINEERING (JCSSE), 2016, : 252 - 257