Unit testing
Controllers are the core for working of the ASP.NET MVC application. They are the first point of contact for request and coordinates both with models and views to send response back to user. Unit testing refers to the process of testing every code path in isolation to verify its actual working compared with an expected result. Unit test are written as part of unit testing process and includes multiple small and discrete tests.
Although a fully functional application consists of hundreds and thousands of unit tests, for the purpose of OnlinePharmacy sample application, few unit test are written and executed to demonstrate unit testing process as part of DevOps continuous integration practice and validate the correctness of code.
In general, ...
Get DevOps with Windows Server 2016 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.