DonaldWhyte / mocking-in-rust-using-double

Talk covering unit testing and mocking techniques in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:CSS 48.9%Language:JavaScript 43.6%Language:HTML 6.7%Language:Rust 0.8%