Freigeben über


Visual Studio Toolbox: Unit Testing: Test Driven and Scenario Based Testing

This is the first of a four part series, recorded this summer, where I am joined by Phil Japikse to discuss unit testing. This series expands on the 2017 Unit Testing episode. In this episode, Phil and I take a deep dive into the details and philosophy of Test Driven Development (TDD), including demonstrating a glorious failure that proves out the benefit of writing tests around your code. Next, we discuss scenario based testing with xUnit, re-using a single unit test to cover multiple use cases for the system under test.

Links:

Episodes in this series:

  • Test Driven and Scenario Based Testing (this episode)
  • xUnit
  • MOQ Framework
  • Existing Code