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 条
  • [41] Optimal test sequence generation in state based testing using moth flame optimization algorithm
    Sharma, Rashmi
    Saha, Anju
    JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2018, 35 (05) : 5203 - 5215
  • [42] Optimal test case generation for boundary value analysis
    Guo, Xiujing
    Okamura, Hiroyuki
    Dohi, Tadashi
    SOFTWARE QUALITY JOURNAL, 2024, 32 (02) : 543 - 566
  • [43] Toward Optimal MC/DC Test Case Generation
    Godboley, Sangharatna
    Jaffar, Joxan
    Maghareh, Rasool
    Dutta, Arpita
    ISSTA '21: PROCEEDINGS OF THE 30TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2021, : 505 - 516
  • [44] Generating Optimal Test Case Generation Using Shuffled Shepherd Flamingo Search Model
    Lilly Raamesh
    S. Radhika
    S. Jothi
    Neural Processing Letters, 2022, 54 : 5393 - 5413
  • [45] Optimal Power Generation, Power Factor and Location of Multi Dispersed Generation Using Chaotic PSO
    Das, Sandeep Kumar
    Sarkar, Supriya
    IEEE INDICON: 15TH IEEE INDIA COUNCIL INTERNATIONAL CONFERENCE, 2018,
  • [46] Generating Optimal Test Case Generation Using Shuffled Shepherd Flamingo Search Model
    Raamesh, Lilly
    Radhika, S.
    Jothi, S.
    NEURAL PROCESSING LETTERS, 2022, 54 (06) : 5393 - 5413
  • [47] Time-optimal real-time test case generation using UPPAAL
    Hessel, A
    Larsen, KG
    Nielsen, B
    Pettersson, P
    Skou, A
    FORMAL APPROACHES TO SOFTWARE TESTING, 2004, 2931 : 114 - 130
  • [48] Optimal Placement of UPFC Using Security Constraint Hybrid PSO Algorithm Optimal Placement of UPFC using SCHPSO
    Acharjee, P.
    2015 IEEE POWER, COMMUNICATION AND INFORMATION TECHNOLOGY CONFERENCE (PCITC-2015), 2015, : 101 - 107
  • [49] AUTOMATIC GENERATION CONTROL USING PSO OPTIMIZED PI AND OPTIMAL FUZZY CONTROLLER
    Kaur, Harleen
    Kumar, Puneet
    Sinha, Sanjay Kumar
    Tayal, Vijay Kumar
    2015 ANNUAL IEEE INDIA CONFERENCE (INDICON), 2015,
  • [50] Optimal Hydrothermal Generation Scheduling using Self-Organizing Hierarchical PSO
    Thakur, Seema
    Boonchay, Chanwit
    Ongsakul, Weerakon
    IEEE POWER AND ENERGY SOCIETY GENERAL MEETING 2010, 2010,