Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore techniques for writing dry, maintainable unit tests using AutoFixture in this 54-minute conference talk from NDC Conferences. Learn how to overcome common TDD challenges, reduce test code duplication, and minimize coupling between tests and production code. Discover how to leverage AutoFixture to generate runtime test data, implement BDD-style testing, and refactor tests effectively. Follow along as the speaker demonstrates these concepts by building Conway's Game of Life, covering topics like test setup, unit test patterns, equivalent sets, and test data builders. Gain practical insights to improve your TDD workflow and create more robust, flexible test suites that serve as a reliable safety net for your production code.
Syllabus
Intro
Premise
Fixture
Test Setup
Unit Test Patterns
Equivalent Sets
Test Data Builder
Conways Game of Life
BDD Style Testing
First Test
Writing the Code
Creating the Grid
Compile
Expressing
Test
Underpopulation
Compilation Error
Running the Test
Refactoring Tests
Testing
Customization
Conclusion
Taught by
NDC Conferences