Commit 0b9d9816 authored by Robert Speicher's avatar Robert Speicher

Add a note about Four-Phase Test to Testing guide

[ci skip]
parent fb8b0041
...@@ -63,6 +63,8 @@ the command line via `bundle exec teaspoon`, or via a web browser at ...@@ -63,6 +63,8 @@ the command line via `bundle exec teaspoon`, or via a web browser at
- Don't `describe` symbols (see [Gotchas](gotchas.md#dont-describe-symbols)). - Don't `describe` symbols (see [Gotchas](gotchas.md#dont-describe-symbols)).
- Prefer `not_to` to `to_not`. - Prefer `not_to` to `to_not`.
- Try to match the ordering of tests to the ordering within the class. - Try to match the ordering of tests to the ordering within the class.
- Try to follow the [Four-Phase Test](https://robots.thoughtbot.com/four-phase-test)
pattern, using newlines to separate phases.
### Test speed ### Test speed
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment