Testing Your Code with Unit Test Cases and TDD
When developing software, it is essential to ensure that an application is bug-free and that it satisfies all requirements. This can be done by testing all the modules while they are being developed, or when the overall application has been either completely or partially implemented.
Performing all the tests manually is not a feasible option since most of the tests must be executed each time the application is modified and, as explained throughout this book, modern software is being continuously modified to adapt the applications to the needs of a fast-changing market. This chapter discusses all the types of tests needed to deliver reliable software, and how to organize and automate them.
More specifically, this chapter covers the following topics:
- Understanding unit and integration tests and their usage
- Understanding the basics of Test-Driven Development (TDD)
- Defining C# test projects in Visual Studio ...