Audience: programmers. TDD and Test Doubles is a one-day, hands-on programming workshop that primarily teaches students how to manage dependency issues when practicing test-driven development by using test doubles. You can attend the class as either a standalone one-day event or as part of the multi-class TDD Masters Series.
Class size: 10 to 16 students
Prerequisites: TDD Foundations class or some real experience with TDD
Pricing / Details
This class initially demonstrates the construction of test doubles in a hand-coded fashion. After students understand the rudiments of building test doubles themselves, they will go on to use a tool to assist with the creation of test doubles. In Java, the preferred tool is Mockito, although customers can request the introduction of alternate tools.
Testing Challenges Test Doubles Demo Exercise #1 Terminology overview: test doubles, mocks, stubs, fakes, spies Test double implementation Self shunt Exercise Dependency injection Factory-based injection Override-based injection Injection tools Exercise Mock tools Mock tool caveats Exercise Test double motivations London school Classic school School of moderation Design considerations Exercise
Jeff Langr at LinkedIn
News: Beta Publication of Modern C++ Programming with TDD
New blog post, "A Story Isn't a Feature"
New blog post, "C++11: Using Lambdas to Support a Times-Repeat Loop"
New blog post, "C++11 Via TFL (Test-Focused Learning): The Range-Based For Loop"