Writing controller tests

We'll want to have some good tests covering all of the code that we will be writing in the course of this application, since we're all good software engineers and should follow good software engineering processes! We'll start off with our controller tests, which include a few cool tools to simulate making connection requests to various controller actions and inspecting the output of the controller functions.

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

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