← All courses

Testing Rust

A detailed, hands-on book on testing Rust programs end to end — unit tests, test organization, testable design, doubles, property-based and snapshot testing, integration suites, async and concurrent code, and full E2E harnesses for CLIs and services, capped by a capstone test suite for a real CLI tool.

  • Rust
  • 55 lessons
  • ~11 hours
  • Free
  • by Fishbones

Learn Rust for free on Libre Academy with the Testing Rust course: 55 interactive lessons you complete by writing real code in a built-in editor, graded instantly by hidden tests. No paywall, no sign-up. It's part of the free, open-source desktop app for macOS, Windows and Linux.

What you get

  • Hands-on lessons with a real editor and instant, test-graded feedback.
  • Free and open source, with no account required to start.
  • Works offline in the free desktop app for macOS, Windows and Linux.
  • Rust runs via a hosted playground.

What's inside

  • Why Test Rust?
  • Unit Testing Fundamentals
  • Organizing Tests
  • Designing Testable Code
  • Test Doubles: Fakes, Stubs, and Spies
  • Property-Based Testing
  • Snapshot and Golden Testing
  • Integration Testing
  • Testing Async and Concurrent Code
  • End-to-End Testing Rust Programs
  • Capstone: Testing a Real CLI Tool

Download to start Testing Rust →   More free Rust courses

Helpful reading

Why passive video doesn't make you a programmer  ·  Bring Your Own Book: turning any PDF into a course