Method-level Change-proneness: A Better Metric for Black-box Test Suite Minimization
Md Siam, Kazi Sakib

TL;DR
This paper introduces a method for black-box test suite minimization using method-level change-proneness, improving scalability and fault detection over previous class-level metrics.
Contribution
It proposes a novel method, MCTM, that calculates change-proneness at the method level and uses dependency analysis for more effective test suite reduction.
Findings
Achieves 0.93 accuracy and 0.94 fault detection rate on average.
Outperforms class-level change-proneness and similarity-based approaches.
Maintains superior efficiency in test suite minimization.
Abstract
Test Suite Minimization (TSM) reduces the size of test suites while preserving their fault detection capability. In black-box TSM, reduction is performed without analyzing production code. While several black-box TSM approaches have explored metrics like test logs or test similarity, those often suffer from scalability and efficiency issues. On the other hand, change-proneness (CP), recently emerged as an efficient and scalable alternative metric, has only been applied at class level. To accurately identify fault-revealing test cases, we propose CP at finer-grained method-level and implement Method-level Change-proneness based Test-suite Minimization (MCTM). MCTM first calculates CP for each method from version control metadata, then determines the dependency between test cases and methods by analyzing the test-code call-graph. Next, it scores the association between test cases and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
