Computer Science and Information Systems 2015 Volume 12, Issue 2, Pages: 707-728
https://doi.org/10.2298/CSIS141217033S
Full text ( 741 KB)
Model-driven acceptance test automation based on use cases
Straszak Tomasz (Warsaw University of Technology, Warsaw, Poland)
Śmiałek Michał (Warsaw University of Technology, Warsaw, Poland)
Acceptance testing is highly dependent on the formulation of requirements, as
the final system is tested against user requirements. It is thus highly
desirable to be able to automate transition from requirements to acceptance
tests. In this paper we present a model-driven approach to this issue, where
detailed use case models are transformed into test cases. Importantly, our
approach facilitates synchronising functional test cases with other types of
tests (non-functional, domain logic, user interface) and introducing test
data. This leads to a unified approach where requirements models of various
kind drive the acceptance testing process. This process is parallel to the
development process which also involves automatic transformations from
requirements models to software development artefacts (models and code). To
show validity of the approach we present a case study which uses a new tool
called ReDSeT, that transforms requirements formulated in the Requirements
Specification Language (RSL) into tests in a newly proposed Test
Specification Language (TSL).
Keywords: acceptance testing, test generation, use cases, metamodel, model transformation