/BuilderSample

Sample used in Quality Excites 2015 talk: https://www.youtube.com/watch?v=uikGlgUnxYA

Primary LanguageC#MIT LicenseMIT

Fluent Builder in integration tests sample

Code sample used in Quality Excites 2015 talk: https://www.youtube.com/watch?v=uikGlgUnxYA

It shows following patterns/techniques:

  • TaxiCompanyTests uses Fixture pattern.
  • TaxiCompanyTestsWithBuilders inttoduces Fluent Builder pattern for preparing test data.
  • TaxiCompanyTestsWithVerifications introduces verification method, but only for one test.

Used technolgies:

  • Entity Framework
  • NUnit
  • Fluent Assertions