-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
A-testing-cargo-itselfArea: cargo's testsArea: cargo's testsC-bugCategory: bugCategory: bugS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
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
- It was partially modeled off of
cargo-test-support
- We are already using it with feat: Import cargo-add into cargo #10472
Notes
Remaining work
- Generalize helpers on top of snapbox (Integrate snapbox in with cargo-test-support #10581)Re-org snapshot files for easier IDE browsing (reorganize
snapshot
tests to better work in contexts that sort by extension #10629)Come up with a strategy for unordered assertions feat(filter): Unordered match support assert-rs/snapbox#330Port cargo's tests to new the new style Port from bespoke assertions of snapbox #14039To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Version
No response
Metadata
Metadata
Assignees
Labels
A-testing-cargo-itselfArea: cargo's testsArea: cargo's testsC-bugCategory: bugCategory: bugS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity