Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Lab 06 — Packaging, testing, and fuzzing

In this lab session you will:

  • create packages and crates;
  • test them in various ways (unit, integration, doc);
  • track and maximize the code coverage of your tests;
  • property test and fuzz Rust code to find unexpected bugs.

By the end of the session you will be familiar with the Rust tools and techniques used to perform “serious sanity checks” on production Rust code.