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 条
  • [41] Automatic, evolutionary test data generation for dynamic software testing
    Sofokleous, Anastasis A.
    Andreou, Andreas S.
    JOURNAL OF SYSTEMS AND SOFTWARE, 2008, 81 (11) : 1883 - 1898
  • [42] Automatic Generation of Test Cases from Formal Specifications using Mutation Testing
    Jaramillo Cajica, Roman
    Gonzalez Torres, Raul Ernesto
    Mejia Alvarez, Pedro
    2021 18TH INTERNATIONAL CONFERENCE ON ELECTRICAL ENGINEERING, COMPUTING SCIENCE AND AUTOMATIC CONTROL (CCE 2021), 2021,
  • [43] Path test data generation using adaptive simulated annealing particle swarm optimization
    Jiao, Chongyang
    Zhou, Qinglei
    Soft Computing, 2024, 28 (17-18) : 9587 - 9607
  • [44] Towards a Parallel Approach for Test Data Generation for Branch Coverage with Genetic Algorithm using the Extended Path Prefix Strategy
    Pachauri, Ankur
    Srivasatava, Gursaran
    2015 2ND INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT (INDIACOM), 2015, : 1786 - 1792
  • [45] Test Data Generation Using Bi-Objective Function
    Bai, R. Lavanya
    Indumathi, C. P.
    PROCEEDINGS OF 2016 INTERNATIONAL CONFERENCE ON ADVANCED COMMUNICATION CONTROL AND COMPUTING TECHNOLOGIES (ICACCCT), 2016, : 650 - 654
  • [46] Test data generation for program units using a game with a purpose
    Moosavi, Sh.
    Vahidi-Asl, M.
    Haghighi, H.
    SCIENTIA IRANICA, 2023, 30 (05) : 1670 - 1686
  • [47] Fibonacci Driven Novel Test Generation Strategy For Constrained Testing
    Gupta, Deepa
    Rana, Ajay
    PROCEEDINGS OF THE 2013 3RD IEEE INTERNATIONAL ADVANCE COMPUTING CONFERENCE (IACC), 2013, : 1475 - 1478
  • [48] Integrating soft computing classification technique for linguistic data in a petroleum engineering application
    Gedeon, TD
    Lin, T
    Wong, PM
    Tamhane, D
    FUZZY LOGIC: FRAMEWORK FOR THE NEW MILLENNIUM, 2002, 81 : 301 - 310
  • [49] Test Data Generation Based on Test Path Discovery Using Intelligent Water Drop
    Srivastava, Praveen Ranjan
    Patel, Amitkumar
    Patel, Kunal
    Vijaywargiya, Prateek
    INTERNATIONAL JOURNAL OF APPLIED METAHEURISTIC COMPUTING, 2012, 3 (02) : 56 - 74
  • [50] GA-based Automatic Test Data Generation for UML State Diagrams with Parallel Paths
    Doungsa-ard, C.
    Dahal, K.
    Hossain, A.
    Suwannasart, T.
    ADVANCED DESIGN AND MANUFACTURE TO GAIN A COMPETITIVE EDGE: NEW MANUFACTURING TECHNIQUES AND THEIR ROLE IN IMPROVING ENTERPRISE PERFORMANCE, 2008, : 147 - +