• DocumentCode
    2297962
  • Title

    Predicate-based test generation for computer programs

  • Author

    Tai, Kuo-Chung

  • Author_Institution
    Dept. of Comput. Sci., North Carolina State Univ., Raleigh, NC, USA
  • fYear
    1993
  • fDate
    17-21 May 1993
  • Firstpage
    267
  • Lastpage
    276
  • Abstract
    The author first describes a number of existing testing strategies for simple predicates and then explains why intuitive extensions of such strategies are ineffective or impractical for testing compound predicates, which are predicates with one or more AND/OR operators. Two fault-based testing strategies for compound predicates are defined, BOR (Boolean operator) testing and BRO (Boolean and relational operator) testing. It is shown that for a predicate with n, n>0, AND/OR operators, at most n+2 (2*n+3) tests are needed to satisfy BOR (BRO) testing. Preliminary experimental results indicate that BOR and BRO testing are effective for the detection of various types of faults in a predicate and provide more specific guidance than branch testing for test generation
  • Keywords
    Boolean functions; program testing; program verification; AND/OR operators; BOR; BRO; Boolean and relational operator; Boolean operator; compound predicates; fault-based testing strategies; simple predicates; testing strategies; Arithmetic; Computer science; Fault detection; Software testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering, 1993. Proceedings., 15th International Conference on
  • Conference_Location
    Baltimore, MD
  • ISSN
    0270-5257
  • Print_ISBN
    0-8186-3700-5
  • Type

    conf

  • DOI
    10.1109/ICSE.1993.346037
  • Filename
    346037