Affiliation:
1. Simula Research Laboratory, Norway and University of Oslo, Norway
2. Simula Research Laboratory, Norway
Abstract
The increase in size and complexity of modern software systems requires scalable, systematic, and automated testing approaches. Model-based testing (MBT), as a systematic and automated test case generation technique, is being successfully applied to verify industrial-scale systems and is supported by commercial tools. However, scalability is still an open issue for large systems, as in practice there are limits to the amount of testing that can be performed in industrial contexts. Even with standard coverage criteria, the resulting test suites generated by MBT techniques can be very large and expensive to execute, especially for system level testing on real deployment platforms and network facilities. Therefore, a scalable MBT technique should be flexible regarding the size of the generated test suites and should be easily accommodated to fit resource and time constraints. Our approach is to select a subset of the generated test suite in such a way that it can be realistically executed and analyzed within the time and resource constraints, while preserving the fault revealing power of the original test suite to a maximum extent. In this article, to address this problem, we introduce a family of similarity-based test case selection techniques for test suites generated from state machines. We evaluate 320 different similarity-based selection techniques and then compare the effectiveness of the best similarity-based selection technique with other common selection techniques in the literature. The results based on two industrial case studies, in the domain of embedded systems, show significant benefits and a large improvement in performance when using a similarity-based approach. We complement these analyses with further studies on the scalability of the technique and the effects of failure rate on its effectiveness. We also propose a method to identify optimal tradeoffs between the number of test cases to run and fault detection.
Publisher
Association for Computing Machinery (ACM)
Cited by
133 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Model-based diversity-driven learn-to-rank test case prioritization;Expert Systems with Applications;2024-12
2. Gate Branch Coverage: A Metric for Quantum Software Testing;Proceedings of the 1st ACM International Workshop on Quantum Software Engineering: The Next Evolution;2024-07-16
3. DeepGD: A Multi-Objective Black-Box Test Selection Approach for Deep Neural Networks;ACM Transactions on Software Engineering and Methodology;2024-06-27
4. Evaluating String Distance Metrics for Reducing Automatically Generated Test Suites;Proceedings of the 5th ACM/IEEE International Conference on Automation of Software Test (AST 2024);2024-04-15
5. Curiosity-Driven Testing for Sequential Decision-Making Process;Proceedings of the IEEE/ACM 46th International Conference on Software Engineering;2024-04-12