Compare http request type with test equivalent methods, and application use-cases.

Briefly explain difference between Functional and Request type tests. [ci skip]
This commit is contained in:
Zachary Scott 2014-12-29 14:25:55 -08:00
parent 8cde29211d
commit 8beb781d0e

@ -524,9 +524,9 @@ If you're familiar with the HTTP protocol, you'll know that `get` is a type of r
* `head`
* `delete`
All of request types are methods that you can use, however, you'll probably end up using the first two more often than the others.
All of request types have equivalent methods that you can use. In a typical C.R.U.D. application you'll be using `get`, `post`, `put` and `delete` more often.
NOTE: Functional tests do not verify whether the specified request type should be accepted by the action. Request types in this context exist to make your tests more descriptive.
NOTE: Functional tests do not verify whether the specified request type is accepted by the action, we're more concerned with the result. Request tests exist for this use case to make your tests more purposeful.
### The Four Hashes of the Apocalypse