Reduce custom testing code in cargo with snapbox #10635
Labels
A-testing-cargo-itself
Area: cargo's tests
C-bug
Category: bug
S-triage
Status: This issue is waiting on initial triage.
Problem
There is a lot of custom test code in
cargo-test-support
, including diffing, diff rendering, eliding in diffs, etc. Sharing the implementation outside of cargo would help reduce the scope of what cargo needs to maintain and allow every to benefit from improvements.Steps
See
cargo-test-support
Possible Solution(s)
Port to
snapbox
cargo-test-support
Notes
Remaining work
snapshot
tests to better work in contexts that sort by extension #10629)Version
No response
The text was updated successfully, but these errors were encountered: