28 releases

0.12.0 Jun 27, 2018
0.10.0 May 5, 2018
0.9.1 Mar 10, 2018
0.9.0 Aug 29, 2017
0.1.4 Jan 11, 2016

#7 in Testing

Download history 170/week @ 2018-05-06 179/week @ 2018-05-13 322/week @ 2018-05-20 641/week @ 2018-05-27 605/week @ 2018-06-03 432/week @ 2018-06-10 551/week @ 2018-06-17 357/week @ 2018-06-24 465/week @ 2018-07-01 386/week @ 2018-07-08 376/week @ 2018-07-15 415/week @ 2018-07-22 327/week @ 2018-07-29

1,697 downloads per month
Used in 23 crates

MIT license

194KB
882 lines

HTTP mocking for Rust!

Get it on crates.io.

Documentation available at https://docs.rs/mockito.

Before upgrading, make sure to check out the changelog.

Contribution Guidelines

  1. Check the existing issues and pull requests.
  2. One commit is one feature - consider squashing.
  3. :shipit:

Development

Run tests:

cargo test --tests

# See https://github.com/lipanski/mockito/issues/36
cargo test --doc -- --test-threads=1

Release:

cargo package && cargo publish

Run benchmarks:

rustup install nightly
rustup run nightly cargo bench

Logo courtesy to http://niastudio.net :ok_hand:

Dependencies

~4MB
~69K SLoC