
Testing
Mocking in Rust With Mockall and When Fakes Are Better
Test code that calls out to services with a hand-written fake or a Mockall mock. Compare setup cost, what each can assert and the cases where a fake is the better tool.
3 min read
Tag
1 post

Test code that calls out to services with a hand-written fake or a Mockall mock. Compare setup cost, what each can assert and the cases where a fake is the better tool.