Loading…
deliver:Agile 2018 has ended
Wednesday, May 2 • 10:30 - 12:00
Testing Without Mocks: A Practical Guide (James Shore)

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!


Abstract:
Are your tests slow or 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 exploring a mock-free approach to TDD.
This session is a comprehensive and practical guide to testing without mocks and other test doubles. We'll talk about real-world code, not dogma, and discuss solutions for tough problems—such as testing infrastructure code, disentangling logic and infrastructure, testing units in isolation, dealing with side effects, approaches to design, and more.

Learning Outcomes:
  • Learn to test-drive code without using mocks
  • Learn to test code in isolation when not using mocks
  • Learn mock-free solutions to problems that seem to require mocks (such as infrastructure code)
  • Learn to use mock-free TDD to improve designs
  • Learn to create fast, safe test suites that have minimal integration tests

Attachments:

Speakers
avatar for James Shore

James Shore

Consultant, Titanium I.T. LLC
James Shore teaches, writes, and consults on Agile development processes. 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/, and co-creator of the Agile Fluency™ Model. You can find his essays... Read More →


Wednesday May 2, 2018 10:30 - 12:00 CDT
Lone Star B/C