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 条
  • [11] Solution of Fractional Programming Problems Using PSO Algorithm
    Pal, Ashok
    Singh, S. B.
    Deep, Kusum
    PROCEEDINGS OF THE 2013 3RD IEEE INTERNATIONAL ADVANCE COMPUTING CONFERENCE (IACC), 2013, : 1060 - 1064
  • [12] On the Performance of EvoPSO: a PSO Based Algorithm for Test Data Generation in EvoSuite
    Shahabi, Mohammad Mehdi Dejam
    Badiei, S. Parsa
    Beheshtian, S. Ehsan
    Akbari, Reza
    Moosavi, S. Mohammad Reza
    2017 2ND CONFERENCE ON SWARM INTELLIGENCE AND EVOLUTIONARY COMPUTATION (CSIEC), 2017, : 129 - 134
  • [13] Optimal reconfiguration of distribution system by PSO and GA using graph theory
    Assadian, Mehdi
    Farsangi, Malihe M.
    Nezamabadi-pour, Hossein
    AEE '07: PROCEEDINGS OF THE 6TH WSEAS INTERNATIONAL CONFERENCE ON APPLICATIONS OF ELECTRICAL ENGINEERING, 2007, : 83 - +
  • [14] Generation of Pareto optimal solutions using generalized DEA and PSO
    Yun, Yeboon
    Nakayama, Hirotaka
    Yoon, Min
    JOURNAL OF GLOBAL OPTIMIZATION, 2016, 64 (01) : 49 - 61
  • [15] PSO based test case generation for critical path using improved combined fitness function
    Sahoo, Rashmi Rekha
    Ray, Mitrabinda
    JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2020, 32 (04) : 479 - 490
  • [16] Generation of Pareto optimal solutions using generalized DEA and PSO
    Yeboon Yun
    Hirotaka Nakayama
    Min Yoon
    Journal of Global Optimization, 2016, 64 : 49 - 61
  • [17] Optimal design of the generator of microturbine using genetic algorithm and PSO
    Sadeghierad, M.
    Darabi, A.
    Lesani, H.
    Monsef, H.
    INTERNATIONAL JOURNAL OF ELECTRICAL POWER & ENERGY SYSTEMS, 2010, 32 (07) : 804 - 808
  • [18] Optimal Voltage Unbalance Compensation in a Microgrid Using PSO Algorithm
    Eilaghi, Sina Fazlollahzadeh
    Ahmadian, Ali
    Golkar, Masoud Aliakbar
    2016 IEEE 7TH POWER INDIA INTERNATIONAL CONFERENCE (PIICON), 2016,
  • [19] Test Case Generation and Optimization using UML Models and Genetic Algorithm
    Khurana, Namita
    Chillar, R. S.
    3RD INTERNATIONAL CONFERENCE ON RECENT TRENDS IN COMPUTING 2015 (ICRTC-2015), 2015, 57 : 996 - 1004
  • [20] A linear optimal test generation algorithm for interconnect testing
    Su, CC
    1998 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER-AIDED DESIGN: DIGEST OF TECHNICAL PAPERS, 1998, : 290 - 295