AutoFixture


write maintainable unit tests faster

@kjellski
C# .net Meetup

outline


  1. unit testing
  2. fixtures 
  3. demo
  4. extending

1. unit testing


why?

  1. correctness
  2. decoupling
  3. changeability
  4. rubber ducky test

2. fixtures


what?!

  1. ease object creation
  2. remove manual work
  3. data you wouldn't think of
  4. lets you focus on the test

2. fixtures


AutoFixture

  1. Mark Seemann & co
  2. flexible architecture
  3. highly customizable
  4. adapter for many mocking frameworks

3. demo




code here on github



4. extending


bend it to your needs

  1. open chain of responsibilities
  2. smaller demo



Thanks



Questions!?

Made with Slides.com