Summary
In this chapter, you learned:
- About all the different types of testing, from unit to functional
- The pros and cons of TDD
- How to unit test using xUnit
- How to supply a test method with parameter values
- How to set up and tear down fixtures for a test
- How to use NSubstitue for mocking
- How to use Bogus to generate fake data
In the next chapter, you will learn about integration and security testing.