Verify the API calls into the service

Now, turn your attention to the web API controllers. As covered in a previous chapter, you could simply create a new instance of the controller and call the method under test. However, that would not exercise the entire system.

It would be far better to call the method with an HTTP request. Deploying to a web server would be prohibitively time-consuming.

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

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