An Optimal Solution for Test Case Generation Using ROBDD Graph and PSO Algorithm

被引:15
|
作者
Kalaee, Akram [1 ]
Rafe, Vahid [1 ]
机构
[1] Arak Univ, Dept Comp Engn, Fac Engn, Arak 3815688349, Iran
关键词
test case generation; specification-based testing; cause-effect graph testing; reduced ordered binary decision diagram; COVERING ARRAYS; STRATEGY; BOUNDS;
D O I
10.1002/qre.1934
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
Software testing is one of the most important techniques to examine the behavior of the software products to assure their quality. An effective and efficient testing approach must balance two important but conflicting requirements. One of them is the accuracy that needs a large number of test cases for testing, and the second one is reducing the time and cost, which requires a few test cases. Even for small software, the number of possible test cases is typically very large, and exhaustive testing is impractical. Hence, selecting appropriate test suite is necessary. Cause-effect graph testing is a common black-box testing technique, which is equivalently representing Boolean relations between input parameters. However, the other traditional black-box strategies cannot identify the relations that it may result in loss of some of the important test cases. Although the cause-effect graph is regarded very promising in specification testing, it is observed that most of the proposed approaches using the graph are complex or generate impossible and a large number of test cases. This observation has motivated our research to propose an efficient strategy to generate minimal test suite that simultaneously achieves high coverage of input parameters. To do so, at first, we identify major effects from the cause-effect graph using reduced ordered binary decision diagram (ROBDD). ROBDD makes the related Boolean expression of the graph concise and obtains a unique representation of the expression. Using the ROBDD, it is possible to reduce the size of the generated test suite and to perform testing faster. After that, our proposed method utilizes particle swarm optimization (PSO) algorithm to select the optimal test suite, which covers all pairwise combinations of input parameters. The experimental results show that our approach simultaneously achieves high efficacy and reduces cost of testing by selecting appropriate test cases, respectively, to both test size and coverage size. Also, it outperforms some existing state-of-the-art strategies in the black-box testing. Copyright (c) 2015 John Wiley & Sons, Ltd.
引用
收藏
页码:2263 / 2279
页数:17
相关论文
共 50 条
  • [1] Combinatorial Test Case Generation Based on ROBDD and Improved Particle Swarm Optimization Algorithm
    Li, Shunxin
    Song, Yinglei
    Zhang, Yaying
    APPLIED SCIENCES-BASEL, 2024, 14 (02):
  • [2] A PSO test case generation algorithm with enhanced exploration ability
    Nie, Peng
    Journal of Computational Information Systems, 2012, 8 (14): : 5785 - 5793
  • [3] Optimal trajectory generation of launch vehicle using PSO algorithm
    Dileep, M., V
    Kamath, Surekha
    Nair, Vishnu. G.
    2015 1ST INTERNATIONAL CONFERENCE ON FUTURISTIC TRENDS ON COMPUTATIONAL ANALYSIS AND KNOWLEDGE MANAGEMENT (ABLAZE), 2015, : 73 - 77
  • [4] Test Case Generation for Modified Code using a Variant of Particle Swarm Optimization (PSO) Algorithm
    Tiwari, Shailesh
    Mishra, K. K.
    Misra, A. K.
    PROCEEDINGS OF THE 2013 10TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY: NEW GENERATIONS, 2013, : 363 - 368
  • [5] Optimal test sequence generation using firefly algorithm
    Srivatsava, Praveen Ranjan
    Mallikarjun, B.
    Yang, Xin-She
    SWARM AND EVOLUTIONARY COMPUTATION, 2013, 8 : 44 - 53
  • [6] Hybridized BA & PSO t-way Algorithm for Test Case Generation
    Alsariera, Yazan A.
    Al Omari, Ahmed H.
    Albawaleez, Mahmoud A.
    Sanjalawe, Yousef K.
    Zamli, Kamal Z.
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2021, 21 (10): : 343 - 352
  • [7] Optimal Allocation of Distributed Generation for Power Loss Minimization using PSO Algorithm
    Guru, Pragya
    Malik, Nitin
    Mahapatra, Sheila
    2019 3RD INTERNATIONAL CONFERENCE ON RECENT DEVELOPMENTS IN CONTROL, AUTOMATION & POWER ENGINEERING (RDCAPE), 2019, : 22 - 26
  • [8] Optimal Test Case Generation for Simulink Models Using Slicing
    Jiang, Zhenying
    Wu, Xiao
    Dong, Zeqian
    Mu, Ming
    2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY COMPANION (QRS-C), 2017, : 363 - 369
  • [9] PSO Based Pseudo Dynamic Method for Automated Test Case Generation Using Interpreter
    Dahiya, Surender Singh
    Chhabra, Jitender Kumar
    Kumar, Shakti
    ADVANCES IN SWARM INTELLIGENCE, PT I, 2011, 6728 : 147 - 156
  • [10] Test Case Generation for Vulnerability Detection Using Genetic Algorithm
    Shuai, Bo
    Li, Haifeng
    Wang, Jian
    Zhang, Quan
    Tang, Chaojing
    PROCEEDINGS OF THE 2015 4TH NATIONAL CONFERENCE ON ELECTRICAL, ELECTRONICS AND COMPUTER ENGINEERING ( NCEECE 2015), 2016, 47 : 1198 - 1203