mock_shootout icon indicating copy to clipboard operation
mock_shootout copied to clipboard

Comparison of several Rust mocking libraries

trafficstars

Rust Mock Shootout!

Rust has several different mocking libraries. None is clearly superior to all of the others. This project compares their feature sets, using an apples-to-apples approach. Each of several dozen features is implemented with multiple mocking libraries, if possible. The test results then show which features work with which library.

See the full results at https://asomers.github.io/mock_shootout/ . Discuss them at https://users.rust-lang.org/t/rust-mock-shootout/17700 .

License

The code behind the shootout is distributed under the MIT license. See LICENSE-MIT for details.