The main goal of unit tests is to validate business logic. Normally, unit tests are put into their own external unit test projects. Multiple test frameworks are available for you to use, with the main ones being xUnit, NUnit, and MSTest.
As we mentioned previously, since everything is completely decoupled when using the MVC pattern, you can test your controllers at any point independently from the other parts of your applications by using unit tests.