← All courses
🎭Intermediate

Test Doubles & Isolation

Isolating the code under test: the family of test doubles (mocks, stubs, spies, fakes), dependency injection for testability, mocking modules/network/APIs, faking time and randomness, and the crucial judgment of when NOT to mock.

Volume 10 · Part III · 5 chapters · 5 lessons
Share

What you'll learn

  • Doubles: Mocks/Stubs/Spies/Fakes
  • DI for Testability
  • Mocking Modules & Network
  • Faking Time & Randomness
  • When Not to Mock

Curriculum

2 modules · 5 lessons
Module 1The Doubles2 lessons
Mocks, Stubs, Spies & FakesPreview
Dependency Injection for Testability
Module 2Mocking in Practice3 lessons
Mocking Modules, Network & APIs
Faking Time & Randomness
When Not to Mock: Mockist vs Classicist

Reviews

No reviews yet.

More courses

Browse all →