Talk covering unit testing and mocking techniques in Rust
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
example_code
images
js
lib
plugin
resources
.gitignore
Gruntfile.js
LICENSE
README.md
bower.json
contents.md
index.html
package.json

README.md

Mocking in Rust using Double

View Presentation Slides

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).