• DocumentCode
    3250949
  • Title

    A note on test oracles and semantics of algebraic specifications

  • Author

    Zhu, Hong

  • Author_Institution
    Dept. of Comput., Oxford Brookes Univ., UK
  • fYear
    2003
  • fDate
    6-7 Nov. 2003
  • Firstpage
    91
  • Lastpage
    98
  • Abstract
    Algebraic testing is an automated software testing method based on algebraic formal specifications. It tests if a program correctly implements an algebraic specification by checking if the equations of the specification are satisfied. One of the key techniques of algebraic testing is the use of observation contexts as a test oracle so that the comparison of values of structured data can be realised by comparing values of simple data types. This leads to a behavioural semantics of algebraic specifications and divides sorts into observable and non-observable. To represent the structure of object-oriented programs and to facilitate incremental integration testing, this paper extends the notion of observable sorts by introducing a partial ordering between sorts to represent the importation relation between classes. In this framework, the validity of test oracles is formally proved in final algebra semantics.
  • Keywords
    algebraic specification; program testing; algebra semantics; algebraic formal specification; algebraic testing; automated software testing; behavioural semantics; incremental integration testing; object-oriented program; program testing; Algebra; Automatic testing; Computer languages; Equations; Error correction; Formal specifications; Program processors; Programming; Software testing; System testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Quality Software, 2003. Proceedings. Third International Conference on
  • Print_ISBN
    0-7695-2015-4
  • Type

    conf

  • DOI
    10.1109/QSIC.2003.1319090
  • Filename
    1319090