This month Author and Crafter James Shore will be joining us and facilitating a hands on workshop and discussion involving how to do TDD without mocks.
TDD Without Mocks
Are your tests slow and brittle? Do you get a sinking feeling when you need to refactor? Do you worry your unit tests aren’t actually testing anything important? If so, you could benefit from writing tests that don’t use mock objects.
In this session, we’ll do it live. We’ll use test-driven development to build a simple command-line application in Node. Along the way, you’ll learn the core principles of testing without mocks, the tradeoffs, what’s easier, and what’s harder. You’ll leave with a new bag of tricks for your toolkit and you’ll be ready to choose between a mock-based or mock-free approach depending on the needs of your code.
Bring a laptop with Node.js and git installed and come prepared to pair program.
About the Presenter