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: