A test double is any object that takes the place of a real object in a test, just like a stunt double takes the place of an actor in a movie. There are several types of test doubles, including stubs, fakes, dummies, mocks, and spies. In this talk, we'll explore the common uses of these types of test doubles, their advantages and pitfalls, and best practices for using test doubles to write effective and reliable unit tests.
All of the examples will use Java (with maybe a bit of Android!), but this talk should be relevant to all software developers.
We will be raffling a ticket to 360|AnDev, the first Android conference in Colorado: 360andev.com
GDG Boulder Lead
GDG Boulder Organizer