• DocumentCode
    2677772
  • Title

    A Software Testing Tool for the Verification of Abstract Data Type Implementations from Formal Algebraic Specifications

  • Author

    Vírseda, Rafael Del Vado

  • Author_Institution
    Dept. de Sist. Informaticos y Comput., Univ. Complutense de Madrid, Madrid, Spain
  • fYear
    2012
  • fDate
    17-19 April 2012
  • Firstpage
    100
  • Lastpage
    104
  • Abstract
    This Work in Progress report presents an educational software tool for testing abstract data types implemented in C++ against formal algebraic specifications written in Maude, a formal specification language based on rewriting logic that allows the specification of abstract data types in a clear and concise manner. Maude specifications are executable, which provides two advantages: firstly, we can test our specifications and, secondly, we can obtain the results of the test cases automatically. Our software testing tool is fully integrated in the Eclipse programming environment and is platform-independent. We have developed an Eclipse plug-in that calls the Maude system to generate the test cases and translates them into a sequence of C++ instructions. The C++ instructions are compiled and executed, and the results are compared with the results obtained from the execution of the formal algebraic specification. Thus, the learning tool allows Software Engineering students to test their own implementations and correct their errors, encouraging the use of formal methods in their developments and resulting in an improved software quality.
  • Keywords
    C++ language; computer science education; courseware; formal logic; formal specification; program testing; program verification; rewriting systems; software quality; C++ instructions; Eclipse plug-in; Eclipse programming environment; Maude specifications; abstract data type implementation verification; abstract data type testing; educational software tool; formal algebraic specifications; formal methods; rewriting logic; software engineering students; software quality; software testing tool; specification testing; work in progress report; Abstracts; Data structures; Programming; Software engineering; Software testing; abstract data types; data structures; formal algebraic specifications; software engineering education; software testing tools;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Education and Training (CSEE&T), 2012 IEEE 25th Conference on
  • Conference_Location
    Nanjing, Jiangsu
  • ISSN
    1093-0175
  • Print_ISBN
    978-1-4673-1592-0
  • Type

    conf

  • DOI
    10.1109/CSEET.2012.16
  • Filename
    6245017