• DocumentCode
    1592650
  • Title

    Automated Evaluation of Runtime Object States against Model-Level States for State-Based Test Execution

  • Author

    Xu, Weifeng ; Xu, Dianxiang

  • Author_Institution
    Dept. of Comput. & Inf. Sci., Gannon Univ., Erie, PA
  • fYear
    2009
  • Firstpage
    3
  • Lastpage
    9
  • Abstract
    Evaluation of runtime object states against the model-level states defined in a state model is critical to state based test automation. This paper presents a state mapping framework to support the automated state-based test execution process. The framework automatically keeps track of runtime object states and maps these states to model-level abstract states. It also includes a comparator to determine whether or not a test is successful. This framework is implemented in the aspect-oriented programming language AspectJ. Therefore, the runtime instrumentation mechanism for state evaluation does not modify the source code under test (either in Java or AspectJ). This is an important advantage because otherwise all the changes made to the code for testing purposes have to be cancelled after testing. We have conducted several experiments to evaluate the framework by calculating and comparing the total consumed minutes of mapping states and checking the oracle in terms of manual and automated execution. The experiment results show that the mapping framework is much more effective and efficient than manual conversion.
  • Keywords
    Java; finite state machines; object-oriented programming; program testing; AspectJ; Java; aspect-oriented programming language; automated state-based test execution process; model-level state; runtime instrumentation mechanism; runtime object state; state mapping framework; Automatic testing; Automation; Computer languages; Conferences; Information science; Instruments; Java; Monitoring; Runtime; Software testing; Software Engineering; modelbased; software testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Testing, Verification and Validation Workshops, 2009. ICSTW '09. International Conference on
  • Conference_Location
    Denver, CO
  • Print_ISBN
    978-1-4244-4356-7
  • Type

    conf

  • DOI
    10.1109/ICSTW.2009.14
  • Filename
    4976365