UCov: a User-Defined Coverage Criterion for Test Case Intent Verification
Rawad Abou Assi, Fadi A. Zaraket, and Wes Masri

TL;DR
UCov introduces a user-defined coverage criterion that allows testers to specify and verify execution patterns of program elements, focusing regression testing on behaviors critical to bug fixes and application scenarios.
Contribution
It presents a novel, user-driven coverage criterion that complements existing metrics, enabling precise verification of test case intent and behavior coverage in regression testing.
Findings
Implemented as an Eclipse plugin for Java
Successfully applied to two real-world case studies
Enabled effective test case intent verification across program versions
Abstract
The goal of regression testing is to ensure that the behavior of existing code is not altered by new program changes. The primary focus of regression testing should be on code associated with: a) earlier bug fixes; and b) particular application scenarios considered to be important by the tester. Existing coverage criteria do not enable such focus, e.g., 100% branch coverage does not guarantee that a given bug fix is exercised or a given application scenario is tested. Therefore, there is a need for a complementary coverage criterion in which the user can define a test requirement characterizing a given behavior to be covered as opposed to choosing from a pool of pre-defined and generic program elements. We propose UCov, a user-defined coverage criterion wherein a test requirement is an execution pattern of program elements and predicates. Our proposed criterion is not meant to replace…
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.
