From Requirements to Automated Acceptance Tests of Interactive Apps: An Integrated Model-based Testing Approach

Daniel Maciel, Ana Paiva, Alberto Rodrigues da Silva

2019

Abstract

Frequently software testing tends to be neglected at the beginning of the projects, only performed on the late stage. However, it is possible to benefit from combining requirement with testing specification activities. On one hand, acceptance tests specification will require less manual effort since they are defined or generated automatically from the requirements specification. On the other hand, the requirements specification itself will end up having higher quality due to the use of a more structured language, reducing typical problems such as ambiguity, inconsistency and incorrectness. This research proposes an approach that promotes the practice of tests specification since the very beginning of projects, and its integration with the requirements specification itself. It is a model-driven approach that contributes to maintain the requirements and tests alignment, namely between requirements, test cases, and low-level automated test scripts. To show the applicability of the approach, two complementary languages are adopted: the ITLingo RSL that is particularly designed to support both requirements and tests specification; and the Robot language, which is a low-level keyword-based language for the specification of test scripts. The approach includes model-to-model transformation techniques, such as test cases into test scripts transformations. In addition, these test scripts are executed by the Robot test automation framework.

Download


Paper Citation


in Harvard Style

Maciel D., Paiva A. and Rodrigues da Silva A. (2019). From Requirements to Automated Acceptance Tests of Interactive Apps: An Integrated Model-based Testing Approach.In Proceedings of the 14th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE, ISBN 978-989-758-375-9, pages 265-272. DOI: 10.5220/0007679202650272


in Bibtex Style

@conference{enase19,
author={Daniel Maciel and Ana Paiva and Alberto Rodrigues da Silva},
title={From Requirements to Automated Acceptance Tests of Interactive Apps: An Integrated Model-based Testing Approach},
booktitle={Proceedings of the 14th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE,},
year={2019},
pages={265-272},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0007679202650272},
isbn={978-989-758-375-9},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 14th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE,
TI - From Requirements to Automated Acceptance Tests of Interactive Apps: An Integrated Model-based Testing Approach
SN - 978-989-758-375-9
AU - Maciel D.
AU - Paiva A.
AU - Rodrigues da Silva A.
PY - 2019
SP - 265
EP - 272
DO - 10.5220/0007679202650272