Skip to main navigation Skip to search Skip to main content

Automatic test data generation using the activity diagram and search-based technique

  • Aman Jaffari
  • , Cheol Jung Yoo*
  • , Jihyun Lee
  • *Corresponding author for this work
    • Jeonbuk National University

    Research output: Contribution to journalJournal articlepeer-review

    Abstract

    In software testing, generating test data is quite expensive and time-consuming. The manual generation of an appropriately large set of test data to satisfy a specified coverage criterion carries a high cost and requires significant human effort. Currently, test automation has come at the cost of low quality. In this paper, we are motivated to propose a model-based approach utilizing the activity diagram of the system under test as a test base, focusing on its data flow aspect. The technique is incorporated with a search-based optimization heuristic to fully automate the test data generation process and deliver test cases with more improved quality. Our experimental investigation used three open-source software systems to assess and compare the proposed technique with two alternative approaches. The experimental results indicate the improved fault-detection performance of the proposed technique, which was 11.1% better than DFAAD and 38.4% better than EvoSuite, although the techniques did not differ significantly in terms of statement and branch coverage. The proposed technique was able to detect more computation-related faults and tends to have better fault detection capability as the system complexity increases.

    Original languageEnglish
    Article number3397
    JournalApplied Sciences (Switzerland)
    Volume10
    Issue number10
    DOIs
    StatePublished - 2020.05.1

    Keywords

    • Activity diagram
    • Automatic test data generation
    • Genetic algorithm
    • Model-based testing
    • Search-based testing

    Quacquarelli Symonds(QS) Subject Topics

    • Materials Science
    • Computer Science & Information Systems
    • Engineering - Petroleum
    • Data Science
    • Engineering - Chemical
    • Physics & Astronomy

    Fingerprint

    Dive into the research topics of 'Automatic test data generation using the activity diagram and search-based technique'. Together they form a unique fingerprint.

    Cite this