• DocumentCode
    2129246
  • Title

    Specification-based test oracles with JUnit

  • Author

    Alawneh, Shadi G. ; Peters, Dennis K.

  • Author_Institution
    Fac. of Eng. & Appl. Sci., Memorial Univ. of Newfoundland, St. Johns, NL, Canada
  • fYear
    2010
  • fDate
    2-5 May 2010
  • Firstpage
    1
  • Lastpage
    7
  • Abstract
    Software testing is an important step to help ensure that the software is behaving correctly. An important component of the test process is a test oracle, which determines if the software behavior is correct or not. In this paper, we present tools that enhance an integrated development environment to give the user the ability to write the formal specifications in a readable manner and generate test oracles automatically. The generated test oracles integrate smoothly with test frameworks (e.g., JUnit) and hence they can be directly used to test the behavior of the program. This approach for testing has the advantage that the quality of testing can be high and very efficient.
  • Keywords
    formal specification; program testing; JUnit; software behavior; software testing; specification-based test oracles; test oracle; test process; Documentation; Generators; Graphical user interfaces; Java; Semantics; Software; Testing; Automated testing; Open Mathematical Documents; Test Oracle; Test-Driven Development;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Electrical and Computer Engineering (CCECE), 2010 23rd Canadian Conference on
  • Conference_Location
    Calgary, AB
  • ISSN
    0840-7789
  • Print_ISBN
    978-1-4244-5376-4
  • Electronic_ISBN
    0840-7789
  • Type

    conf

  • DOI
    10.1109/CCECE.2010.5575202
  • Filename
    5575202