Don't Mock Yourself Out
Location: Ballroom B
Ask experienced Rails developers what they think about mock objects and some will say “absolutely awesome” while others “absolutely horrible.” The problem with both of those answers lies their “absolute”-ness.
Used appropriately, mock objects are a powerful design tool that can lead to highly maintainable applications. Used in the wrong context or for the wrong reasons, they can lead to painfully brittle test suites that do little to maintain confidence in an application.
In this talk, David Chelimsky will explore mock objects in the abstract and in the context of Rails. Questions include:
- What are mocks and stubs?
- When are they appropriate?
- When are they inappropriate?
- What are the benefits?
- What are the costs?
- Where are the pitfalls?
Attendees will leave this session with more insight into the motivations behind mock objects, and a better handle on when it makes sense to use them.
People planning to attend this session also want to see:
Comments on this page are now closed.