• DocumentCode
    2322691
  • Title

    Automatic Test Data Generation for C Programs

  • Author

    Bokil, Prasad ; Darke, Priyanka ; Shrotri, Ulka ; Venkatesh, R.

  • fYear
    2009
  • fDate
    8-10 July 2009
  • Firstpage
    359
  • Lastpage
    368
  • Abstract
    Preparation of test data that adequately tests a given piece of code is very expensive and effort intensive. This paper presents a tool AutoGen that reduces this cost and effort by automatically generating test data for C code. AutoGen takes the C code and a criterion such as statement coverage, decision coverage, or Modified Condition/Decision Coverage (MCDC) and generates non-redundant test data that satisfies the specified criterion. This paper also presents our experience in using this tool to generate MCDC test data for three embedded reactive system applications. The effort required using the tool was one third of the manual effort required. The main contributions of this paper are a tool that can generate data for various kinds of coverage including MCDC and the experience of running this tool on real applications.
  • Keywords
    C language; program testing; software tools; AutoGen tool; C programs; automatic test data generation; decision coverage; embedded reactive system; modified condition; nonredundant test data; statement coverage; Air safety; Automatic testing; Conferences; Costs; Counting circuits; Industry applications; Life testing; Scalability; Software testing; Software tools; Automatic Test data generation; Modified Condition/Decision coverage (MCDC);
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Secure Software Integration and Reliability Improvement, 2009. SSIRI 2009. Third IEEE International Conference on
  • Conference_Location
    Shanghai
  • Print_ISBN
    978-0-7695-3758-0
  • Type

    conf

  • DOI
    10.1109/SSIRI.2009.53
  • Filename
    5325350