...

/

Simulating Requests

Simulating Requests

Learn about requests test performance, goals, and simulating requests in requests test.

Ideally, our controllers are relatively simple. The complicated functionality is in a model or other object and tested in our unit tests for those objects. One reason this is a best practice is that models are easier to test than requests because ...