Rust
Clone or download
Latest commit f3aaffc Jun 27, 2018

README.md

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. I'll handle versioning and generating docs, after the pull request gets merged.
  4. :shipit:

Development

Run tests:

cargo test --tests

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

Generate docs:

rm -r target/doc/* && cargo doc --no-deps && rm -r docs/generated/* && cp -R target/doc/* docs/generated

Release:

cargo package && cargo publish

Run benchmarks:

rustup install nightly
rustup run nightly cargo bench

Logo courtesy to http://niastudio.net 👌