Unit testing with AutoFixture

A session at Norwegian Developers Conference 2011

One of the greatest challenges in writing maintainable unit tests is to avoid so–called Overspecified Tests – i.e. test which are too tightly coupled to implementation details that are actually irrelevant to the test case at hand. A common symptom is that the Test Fixture (the entire context which must be in place before the actual test can be executed) takes up a lot more space than the test itself.

AutoFixture (http:⁄⁄autofixture.codeplex.com⁄) is a .NET open source library designed to address this issue. It uses reflection and various conventions to deal with all the irrelevant details, enabling the test developer to concentrate on writing unit tests that focus on the relevant action.

In this talk AutoFixture’s creator will use examples to demonstrate how complex unit tests can be reduced to simpler and more maintainable unit tests.

About the speaker

This person is speaking at this event.
Mark Seemann

Programmer/Software Architect. Author of Dependency Injection in .NET. Creator of AutoFixture.

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

Short URL


Official event site


View the schedule



Books by speaker

  • Dependency Injection in .NET

See something wrong?

Report an issue with this session