Exhaustive Simulation and Test Generation Using fUML Activity Diagrams

Forskningsoutput: Kapitel i bok/konferenshandlingKonferensbidragVetenskapligPeer review

1 Citeringar (Scopus)
9 Nedladdningar (Pure)

Sammanfattning

The quality of the specifications used for test generation plays an important role in the quality of the generated tests. One approach to improve the quality of the UML specification is the use of executable models specified using the Foundational Subset for Executable UML Models (fUML) and the Action language for fUML (Alf). Due to their precise semantics, fUML and Alf models can be simulated or executed using an fUML execution engine. However, in order to execute the models exhaustively, one must provide input data required to reach and cover all essential elements not only in the graphical fUML models, but also in the textual Alf code associated with the graphical models. In this paper, we present an approach for exhaustive simulation and test generation from fUML activity diagrams containing Alf code. The proposed approach translates fUML activity diagrams and associated Alf code into equivalent Java code and then automatically generates: (1) input data needed to cover or execute all paths in the executable fUML and Alf models and (2) test cases and test oracle (expected output) for testing the actual implementation of the system under development. We also present a tool chain and demonstrate our proposed approach with the help of an example.

OriginalspråkOdefinierat/okänt
Titel på gästpublikationAdvanced Information Systems Engineering
RedaktörerGiorgini Paolo, Weber Barbara
FörlagSpringer, Cham
Sidor96–110
ISBN (elektroniskt)978-3-030-21290-2
ISBN (tryckt)978-3-030-21289-6
DOI
StatusPublicerad - 2019
MoE-publikationstypA4 Artikel i en konferenspublikation
EvenemangInternational Conference on Advanced Information Systems Engineering - 31st International Conference on Advanced Information Systems Engineering
Varaktighet: 5 jun 20197 jun 2019

Konferens

KonferensInternational Conference on Advanced Information Systems Engineering
Period05/06/1907/06/19

Nyckelord

  • Activity diagram
  • Alf
  • Eclipse Papyrus
  • Model-Based Testing
  • Test data generation
  • fUML

Citera det här