Skip to content

DonaldWhyte/mocking-in-rust-using-double

Repository files navigation

Mocking in Rust using Double

Talk demonstrating how to write behaviour verification tests in Rust using mocks.

Topics covered:

  • unit testing in Rust
  • behaviour verification with test doubles
  • mocking in Rust tests using the double crate

Running Presentation

You can also run the presentation on a local web server. Clone this repository and run the presentation like so:

npm install
grunt serve

The presentation can now be accessed on localhost:8080. Note that this web application is configured to bind to hostname 0.0.0.0, which means that once the Grunt server is running, it will be accessible from external hosts as well (using the current host's public IP address).

About

Talk covering unit testing and mocking techniques in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published