A novel strategy for automatic test data generation using soft computing technique

被引:14
|
作者
Chawla, Priyanka [1 ]
Chana, Inderveer [1 ]
Rana, Ajay [2 ]
机构
[1] Thapar Univ, Comp Sci & Engn Dept, Patiala 147004, Punjab, India
[2] Amity Univ, Amity Sch Engn, Noida 201301, India
关键词
software testing; particle swarm optimization; genetic algorithm; soft computing; test data generation;
D O I
10.1007/s11704-014-3496-9
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Software testing is one of the most crucial and analytical aspect to assure that developed software meets prescribed quality standards. Software development process invests at least 50% of the total cost in software testing process. Optimum and efficacious test data design of software is an important and challenging activity due to the nonlinear structure of software. Moreover, test case type and scope determines the quality of test data. To address this issue, software testing tools should employ intelligence based soft computing techniques like particle swarm optimization (PSO) and genetic algorithm (GA) to generate smart and efficient test data automatically. This paper presents a hybrid PSO and GA based heuristic for automatic generation of test suites. In this paper, we described the design and implementation of the proposed strategy and evaluated our model by performing experiments with ten container classes from the Java standard library. We analyzed our algorithm statistically with test adequacy criterion as branch coverage. The performance adequacy criterion is taken as percentage coverage per unit time and percentage of faults detected by the generated test data. We have compared our work with the heuristic based upon GA, PSO, existing hybrid strategies based on GA and PSO and memetic algorithm. The results showed that the test case generation is efficient in our work.
引用
收藏
页码:346 / 363
页数:18
相关论文
共 50 条
  • [21] Using program data-state scarcity to guide automatic test data generation
    Alshraideh, Mohammad
    Bottaci, Leonardo
    Mahafzah, Basel A.
    SOFTWARE QUALITY JOURNAL, 2010, 18 (01) : 109 - 144
  • [22] Automatic Test Data Generation for Data Flow Testing Using Particle Swarm Optimization
    Nayak, Narmada
    Mohapatra, Durga Prasad
    CONTEMPORARY COMPUTING, PT 2, 2010, 95 : 1 - 12
  • [23] Using program data-state scarcity to guide automatic test data generation
    Mohammad Alshraideh
    Leonardo Bottaci
    Basel A. Mahafzah
    Software Quality Journal, 2010, 18 : 109 - 144
  • [24] Green Data Storage Strategy in Mobile Computing System using Deduplication Technique
    Mondal, Samit Kumar
    De, Debashis
    2012 THIRD INTERNATIONAL CONFERENCE ON COMPUTER AND COMMUNICATION TECHNOLOGY (ICCCT), 2012, : 239 - 240
  • [25] The construction of Test Strategy Tree and the automatic generation of Visual Test Procedure
    Yang, XH
    Zhou, Y
    Wang, H
    Liu, JF
    AUTOTESTCON 2004, PROCEEDINGS: TECHNOLOGY AND TRADITION UNITE IN SAN ANTONIO, 2004, : 290 - 292
  • [26] Developing a new hybrid soft computing technique in predicting ultimate pile bearing capacity using cone penetration test data
    Harandizadeh, Hooman
    AI EDAM-ARTIFICIAL INTELLIGENCE FOR ENGINEERING DESIGN ANALYSIS AND MANUFACTURING, 2020, 34 (01): : 114 - 126
  • [27] An automatic approach of domain test data generation
    Jeng, BC
    Forgács, I
    JOURNAL OF SYSTEMS AND SOFTWARE, 1999, 49 (01) : 97 - 112
  • [28] Automatic Test Data Generation for C Programs
    Bokil, Prasad
    Darke, Priyanka
    Shrotri, Ulka
    Venkatesh, R.
    2009 THIRD IEEE INTERNATIONAL CONFERENCE ON SECURE SOFTWARE INTEGRATION AND RELIABILITY IMPROVEMENT, PROCEEDINGS, 2009, : 359 - 368
  • [29] Automatic test generation for dynamic data structures
    Zhao, Ruilian
    Li, Qing
    SERA 2007: 5TH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH, MANAGEMENT, AND APPLICATIONS, PROCEEDINGS, 2007, : 545 - +
  • [30] Automatic String Type Test Data Generation
    You, Feng
    Liu, Yi-Hua
    Zhao, Rui-Lian
    INTERNATIONAL SYMPOSIUM ON SIGNAL PROCESSING BIOMEDICAL ENGINEERING, AND INFORMATICS (SPBEI 2013), 2014, : 399 - 407