TDD and Test Doubles (1 day)
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
Please call +1-719-287-GEEK or
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
us to schedule now or ask questions.
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.
Course overview:
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
Pricing / Details
Site Search
Jeff on Twitter
Jeff Langr at LinkedIn
Latest Changes
-
Our Books
(2013-03-20) -
News: Beta Publication of Modern C++ Programming with TDD
(2013-03-20) -
New blog post, "A Story Isn't a Feature"
(2013-03-20) -
New blog post, "C++11: Using Lambdas to Support a Times-Repeat Loop"
(2013-03-20) -
New blog post, "C++11 Via TFL (Test-Focused Learning): The Range-Based For Loop"
(2013-02-19)


