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] A novel strategy for automatic test data generation using soft computing technique
    Priyanka CHAWLA
    Inderveer CHANA
    Ajay RANA
    Frontiers of Computer Science, 2015, 9 (03) : 346 - 363
  • [3] Natural Computing for Automatic Test Data Generation Approach Using Spanning Tree Concepts
    Singla, Sanjay
    Kumar, Raj
    Kumar, Dharminder
    INTERNATIONAL CONFERENCE ON COMPUTATIONAL MODELLING AND SECURITY (CMS 2016), 2016, 85 : 929 - 939
  • [4] 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):
  • [5] Automatic Test Data Generation Using a Genetic Algorithm
    Aleb, Nassima
    Kechid, Samir
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2013, PT II, 2013, 7972 : 574 - 586
  • [6] Automatic Test Data Generation Using Particle Systems
    Bueno, Paulo M. S.
    Wong, W. Eric
    Jino, Mario
    APPLIED COMPUTING 2008, VOLS 1-3, 2008, : 809 - +
  • [7] Development of Semi-Automatic Lathe by using Intelligent Soft Computing Technique
    Sakthi, S.
    Niresh, J.
    Vignesh, K.
    Raj, G. Anand
    2017 5TH INTERNATIONAL CONFERENCE ON MECHANICAL ENGINEERING, MATERIALS SCIENCE AND CIVIL ENGINEERING, 2018, 324
  • [8] Prediction of availability and integrity of cloud data using soft computing technique
    Pitchai, R.
    Babu, S.
    Supraja, P.
    Anjanayya, S.
    SOFT COMPUTING, 2019, 23 (18) : 8555 - 8562
  • [9] Towards Automatic Generation of Test Data using Branch Coverage
    Chen, Jifeng
    Yang, Luming
    ICCSSE 2009: PROCEEDINGS OF 2009 4TH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE & EDUCATION, 2009, : 921 - 925
  • [10] Automatic test data generation for path testing using GAs
    Lin, JC
    Yeh, PL
    INFORMATION SCIENCES, 2001, 131 (1-4) : 47 - 64