Model-Driven Acceptance Test Automation Based on Use Cases

Tomasz Straszak1 and Michał Śmiałek1

  1. Warsaw University of Technology
    Warsaw, Poland
    {straszat, smialek}@iem.pw.edu.pl

Abstract

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).

Key words

acceptance testing, test generation, use cases, metamodel, model transformation

Digital Object Identifier (DOI)

https://doi.org/10.2298/CSIS141217033S

Publication information

Volume 12, Issue 2 (June 2015)
Year of Publication: 2015
ISSN: 1820-0214 (Print) 2406-1018 (Online)
Publisher: ComSIS Consortium

Full text

DownloadAvailable in PDF
Portable Document Format

How to cite

Straszak, T., Śmiałek, M.: Model-Driven Acceptance Test Automation Based on Use Cases. Computer Science and Information Systems, Vol. 12, No. 2, 707-728. (2015)