In the previous section, we discussed test approaches or testing strategies. These strategies decide how we will proceed with the testing of a system. In this section, we will discuss the various types of tests used in our application.
Types of tests
Testing the ASP.NET Core controller (unit testing)
Unit tests are tests that typically test a single function call to ensure that the smallest piece of the program is tested. So, these tests are meant to verify specific functionality without considering other components. Here, testing strategies come in handy and ensure that the best quality assurance of a system will be performed. It adds more power when it comes with the test-driven development (TDD) approach.
You can learn...