TDD Without Mocks - James Shore

Are you going?

61 people going

Share:

Every 4th Thursday of the month

Location image of event venue

Details

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

James Shore teaches, writes, and consults on Agile development processes with an emphasis on technical excellence. He is a recipient of the Agile Alliance's Gordon Pask Award for Contributions to Agile Practice, co-author of The Art of Agile Development, host of "Let's Code: Test-Driven JavaScript," and co-creator of the Agile Fluency™ Model. InfoQ has named him one of the "most influential people in Agile." You can find his screencasts at letscodejavascript.com and essays at jamesshore.com.