Reducing the Discard of MBT Test Cases

Authors

  • Thomaz Diniz Federal University of Campina Grande (UFCG)
  • Everton L G Alves Federal University of Campina Grande (UFCG)
  • Anderson G F Silva Federal University of Campina Grande (UFCG)
  • Wilkerson L Andrade Federal University of Campina Grande (UFCG)

DOI:

https://doi.org/10.5753/jserd.2020.602

Keywords:

MBT, Test Case Discard, Suite Evolution, Agile Development

Abstract

Model-Based Testing (MBT) is used for generating test suites from system models. However, as software evolves, its models tend to be updated, which may lead to obsolete test cases that are often discarded. Test case discard can be very costly since essential data, such as execution history, are lost. In this paper, we investigate the use of distance functions and machine learning to help to reduce the discard of MBT tests. First, we assess the problem of managing MBT suites in the context of agile industrial projects. Then, we propose two strategies to cope with this problem: (i) a pure distance function-based. An empirical study using industrial data and ten different distance functions showed that distance functions could be effective for identifying low impact edits that lead to test cases that can be updated with little effort. We also found the optimal configuration for each function. Moreover, we showed that, by using this strategy, one could reduce the discard of test cases by 9.53%; (ii) a strategy that combines machine learning with distance values. This strategy can classify the impact of edits in use case documents with accuracy above 80%; it was able to reduce the discard of test cases by 10.4% and to identify test cases that should, in fact, be discarded.

Downloads

Download data is not yet available.

Downloads

Published

2020-08-15

How to Cite

Diniz, T., Alves, E. L. G., Silva, A. G. F., & Andrade, W. L. (2020). Reducing the Discard of MBT Test Cases. Journal of Software Engineering Research and Development, 8, 4:1 – 4:15. https://doi.org/10.5753/jserd.2020.602

Issue

Section

Research Article