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 条
  • [1] A novel strategy for automatic test data generation using soft computing technique
    Priyanka Chawla
    Inderveer Chana
    Ajay Rana
    Frontiers of Computer Science, 2015, 9 : 346 - 363
  • [2] Automatic structural test data generation using immune genetic algorithm
    Yong, Chen
    Yong, Zhong
    Bao Sheng-Li
    He Fa-Mei
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE INFORMATION COMPUTING AND AUTOMATION, VOLS 1-3, 2008, : 688 - 690
  • [3] Cloud-based automatic test data generation framework
    Chawla, Priyanka
    Chana, Inderveer
    Rana, Ajay
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2016, 82 (05) : 712 - 738
  • [4] Automatic Test Data Generation Using Particle Systems
    Bueno, Paulo M. S.
    Wong, W. Eric
    Jino, Mario
    APPLIED COMPUTING 2008, VOLS 1-3, 2008, : 809 - +
  • [5] 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
  • [6] Automatic Test Data Generation Using the Activity Diagram and Search-Based Technique
    Jaffari, Aman
    Yoo, Cheol-Jung
    Lee, Jihyun
    APPLIED SCIENCES-BASEL, 2020, 10 (10):
  • [7] Automatic test data generation for program paths using genetic algorithms
    Bueno, PMS
    Jino, M
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2002, 12 (06) : 691 - 709
  • [8] Automatic Generation Control for Hybrid Hydro-Thermal System using Soft Computing Techniques
    Gupta, Deepak Kumar
    Naresh, R.
    Jha, Amitkumar Vidyakant
    2018 5TH IEEE UTTAR PRADESH SECTION INTERNATIONAL CONFERENCE ON ELECTRICAL, ELECTRONICS AND COMPUTER ENGINEERING (UPCON), 2018, : 7 - 12
  • [9] 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
  • [10] Automatic test data generation using genetic algorithm and program dependence graphs
    Miller, James
    Reformat, Marek
    Zhang, Howard
    INFORMATION AND SOFTWARE TECHNOLOGY, 2006, 48 (07) : 586 - 605