Unit tests

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.255.187