diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-03-30 19:11:02 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-04-01 20:31:12 -0400 |
commit | 0b9d9816f8ef1d871a050cea5d8bc3d9203c3d18 (patch) | |
tree | ae16ac3ed2d7e96ddf37dfa93685aac824032eb1 /doc/development/testing.md | |
parent | fb8b0041d86080f0f8d53f13be1016b0b199a47f (diff) | |
download | gitlab-ce-0b9d9816f8ef1d871a050cea5d8bc3d9203c3d18.tar.gz |
Add a note about Four-Phase Test to Testing guide
[ci skip]
Diffstat (limited to 'doc/development/testing.md')
-rw-r--r-- | doc/development/testing.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/development/testing.md b/doc/development/testing.md index d37ef5d8785..a7e85ecebed 100644 --- a/doc/development/testing.md +++ b/doc/development/testing.md @@ -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)). - Prefer `not_to` to `to_not`. - 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 |