A Clustering-Based Approach to Identifying Potential Output Anomalies with Combinatorial Testing for Web Applications
Preprint
- 13 December 2023
- preprint
- Published by MDPI AG in Preprints.org
Abstract
The process of testing software is examining the artifacts and behavior of the software under test by validating and verifying it. Testing can provide valuable information about the software. Given an input to the system, there is a challenge of distinguishing correct from potentially incorrect behavior, which is the test oracle problem. Although the combinatorial testing approach can effectively reduce the number of test cases, the manual inspection of the outputs is still required. In this paper, we propose an approach to automatically classify the return pages with conducting combinatorial testing based on page similarities and hierarchical clustering, by which potential output anomalies can be identified. In the experiment, we apply our approach to a real-world e-commerce website, an anomaly can be found with the visualization of the clustering hierarchy, which suggests the potential of the applicability of the approach.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- An empirical comparison of combinatorial testing and search-based testing in the context of automated and autonomous driving systemsInformation and Software Technology, 2023
- Fuzzing: A Survey for RoadmapACM Computing Surveys, 2022
- Automated Testing of Web Applications Using Combinatorial StrategiesJournal of Computer Science and Technology, 2017
- Separating passing and failing test executions by clustering anomaliesSoftware Quality Journal, 2016
- Using combinatorial testing to build navigation graphs for dynamic web applicationsSoftware Testing, Verification and Reliability, 2016
- Building Test Oracles by Clustering Failures2015
- The AETG system: an approach to testing based on combinatorial designIEEE Transactions on Software Engineering, 1997
- Simple Fast Algorithms for the Editing Distance between Trees and Related ProblemsSIAM Journal on Computing, 1989