• DocumentCode
    458705
  • Title

    Testing Scenario Implementation with Behavior Contracts

  • Author

    Liang, Donglin ; Xu, Kai

  • Author_Institution
    Minnesota Univ.
  • Volume
    1
  • fYear
    2006
  • fDate
    17-21 Sept. 2006
  • Firstpage
    395
  • Lastpage
    402
  • Abstract
    This paper presents behavior contracts as a new assertion mechanism and a tool that uses such contracts to support the testing of object-oriented (OO) systems. A behavior contract models how the scenarios for performing a designated task are expected to be implemented. Based on this contract, our tool can automatically monitor the program execution for checking important properties related to these scenarios. This capability can help testers to determine whether the scenarios have been implemented correctly. Our tool can also collect test coverage information w.r.t. the scenarios modeled by a behavior contract. Such information can be used to direct the testing efforts towards the less-covered scenarios, and to determine whether the implementation of these scenarios has been adequately tested. Therefore, using this tool should improve both the efficiency and effectiveness of testing OO systems
  • Keywords
    object-oriented methods; program testing; behavior contract model; object-oriented system testing; Application software; Computer bugs; Computerized monitoring; Contracts; Formal specifications; Object oriented modeling; Programming; Sampling methods; Software testing; System testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Software and Applications Conference, 2006. COMPSAC '06. 30th Annual International
  • Conference_Location
    Chicago, IL
  • ISSN
    0730-3157
  • Print_ISBN
    0-7695-2655-1
  • Type

    conf

  • DOI
    10.1109/COMPSAC.2006.81
  • Filename
    4020101