AutoFixture makes it easier for developers to do Test-Driven
Development by automating non-relevant Test Fixture Setup, allowing the
Test Developer to focus on the essentials of each test case.
AutoFixture is designed to make Test-Driven Development more
productive. It does so by removing the need for hand-coding anonymous
variables as part of a test’s Fixture Setup phase. Among other
features, it offers a generic implementation of the Test Data Builder
When writing unit tests, you typically need to create some objects that
represent the initial state of the test. Often, an API will force you
to specify much more data than you really care about, so you frequently
end up creating objects that has no influence on the test, simply to
make the code compile.
AutoFixture can help by creating such Anonymous Variables for you.