Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

DRY TDD with AutoFixture

NDC Conferences via YouTube

Overview

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

Reviews

Start your review of DRY TDD with AutoFixture

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.