Initial findings on the evaluation of a model-based testing tool in the test design process

Background: One way to reduce test cost is to automatise testing tasks. Model-based testing (MBT) tools use system behaviour models as inputs to automatically generate tests. In the literature, few experiments evaluate the impact of using an MBT tool in test case productivity, test coverage, and bug detection rate.Aims: This work consists of the first part of the evaluation of the impacts of using an MBT tool whose input model is based on natural language, the TaRGeT. This MBT tool uses as inputs use case models authored using natural language. We assess the effects of using an MBT tool in test case productivity (number of test steps produced per hour).Method: A quasi-experiment was carried out for evaluating test case productivity when creating functional tests manually vs the productivity when designing tests using TaRGeT. The application size and subjects experience were controlled, and the collected data statistically analysed.Results: The results show the mean productivity when using TaRGeT is 30% higher when compared to the mean productivity when designing tests manually. Despite this difference, it was not possible to detect statistical differences in productivity when using TaRGeT or not.Conclusions: We discuss possible reasons for this behaviour and other findings, moreover we present lessons learned for future experiments.

[1]  Claes Wohlin,et al.  Experimentation in Software Engineering , 2000, The Kluwer International Series in Software Engineering.

[2]  Luca Aceto,et al.  Model-based Testing of Mobile Systems - An Empirical Study on QuizUp Android App , 2016, PrePost@IFM.

[3]  F. Ferreira,et al.  TaRGeT : a Model Based Product Line Testing Tool , 2010 .

[4]  Ridi Ferdiana,et al.  Literature Review on Test Case Generation Approach , 2019, ICSIM 2019.

[5]  Eduardo Aranha,et al.  Model Based Test Generation : An Industrial Experience , 2007 .

[6]  Rance Cleaveland,et al.  Assessing model-based testing: an empirical study conducted in industry , 2014, ICSE Companion.

[7]  Margus Veanes,et al.  Online testing with model programs , 2005, ESEC/FSE-13.

[8]  H. D. Rombach,et al.  The Goal Question Metric Approach , 1994 .

[9]  Arthur Marques,et al.  Comparing Model-Based Testing with Traditional Testing Strategies: An Empirical Study , 2014, 2014 IEEE Seventh International Conference on Software Testing, Verification and Validation Workshops.