AutoFixture
write maintainable unit tests faster
@kjellski
C# .net Meetup
outline
unit testing
fixturesÂ
demo
extending
1. unit testing
why?
correctness
decoupling
changeability
rubber ducky test
2. fixtures
what?!
ease object creation
remove manual work
data you wouldn't think of
lets you focus on the test
2. fixtures
AutoFixture
Mark Seemann
& co
flexible architecture
highly customizable
adapter for many mocking frameworks
3. demo
code here on github
4. extending
bend it to your needs
open
chain of responsibilities
smaller demo
Thanks
Questions!?
Made with Slides.com