[Feature Request][move-compiler-v2] add an attribute to include #[test_only]
functions in coverage
#15276
Labels
compiler-v2
enhancement
New feature or request
stale-exempt
Prevents issues from being automatically marked and closed as stale
🚀 Feature Request
@alnoki asks:
Is there a way to enforce coverage testing on functions like these if I make them
[#test_only]
? I made themprivate fun
without#[test_only]
because I needed to verify that I had tested every invariant failure method (via the coverage tool, but I don’t actually need thefun verify
andfun verify_subtree
bytecode in production: perhaps a directive like#[test_only, include_in_coverage]
?This seems feasible.
The text was updated successfully, but these errors were encountered: