Write 30% Less Test Code With AutoFixture

added by vintharas
7/3/2014 5:14:24 PM


I have been following Mark Seemann for a while ‘cause this guy is as smart as it gets. He wrote a book on dependency injection, released two awesome courses on unit testing in Pluralsight, and has written the AutoFixture unit testing library (with many other contributors). AutoFixture is a .NET library that helps you write unit tests with less code by providing: * Test data generators for primitive and complex types (in a constrained non-deterministic way – the data generation algorithm can be customized) * Test data builders for any type * AutoMocking of dependencies * I repeat, A U T O M O C K I N G of dependencies