
shimforge
github.com/xtsoftwarelabs/shimforge- Category
- Developer Tools
- Rank
- No. 2410Tools index
- Type
- TOOL
- GitHub
- 6 stars
- Latest release
- v0.1.3
- Date
About
shimforge is a Rust crate for mocking concrete functions, including ones from std and third-party crates like reqwest, without changing production code or introducing traits for testability. Tests use a shimforge Session to intercept a specific function call, set expectations on its arguments and call count, and control its return value, so error-handling paths that would otherwise require touching the filesystem or network can be tested directly.
Tags
rusttestingmockingunit-testing
Tech Stack
Rust
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.