aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/testing.md
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2017-03-04 14:54:03 +0100
committerRobin Dupret <robin.dupret@gmail.com>2017-03-05 13:24:43 +0100
commit4a77213eead0e33a8158e47525bad3d5e1996300 (patch)
tree7fd1ba40063fe1295e8a8cc95e9fec1ee125d141 /guides/source/testing.md
parentb1459fce6e5b64e9b70351b472816b219af5d6fd (diff)
downloadrails-4a77213eead0e33a8158e47525bad3d5e1996300.tar.gz
rails-4a77213eead0e33a8158e47525bad3d5e1996300.tar.bz2
rails-4a77213eead0e33a8158e47525bad3d5e1996300.zip
Avoid running system tests by default
These tests may be expansive so let's only allow users to run them through `bin/rails test:system` or by passing a path to the `test` command. The same applies for `bin/rake test`. Refs #28109.
Diffstat (limited to 'guides/source/testing.md')
-rw-r--r--guides/source/testing.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md
index f7640d097f..3f53ccb242 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -730,6 +730,9 @@ Run the system tests.
bin/rails test:system
```
+NOTE: By default, running `bin/rails test` won't run your system tests.
+Make sure to run `bin/rails test:system` to actually run them.
+
#### Creating articles system test
Now let's test the flow for creating a new article in our blog.