diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-12-02 06:15:58 -0800 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-12-02 06:15:58 -0800 |
commit | f7e527b1f55a109a56ede2f16dccf258f608ee9a (patch) | |
tree | 2622cf26314d98de604f95df83d5c26bc5133479 /guides/source | |
parent | 543ccf740d57eb7e0b027b74bf2fa2538d39ed5a (diff) | |
parent | 3ab9d01dd4a096029745c5bdec8c7a232779301b (diff) | |
download | rails-f7e527b1f55a109a56ede2f16dccf258f608ee9a.tar.gz rails-f7e527b1f55a109a56ede2f16dccf258f608ee9a.tar.bz2 rails-f7e527b1f55a109a56ede2f16dccf258f608ee9a.zip |
Merge pull request #11466 from jetthoughts/updated_tesing_guides
Fix `rake test` description in the guides [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/testing.md | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index 2fd0ed209d..d00fcd1f03 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -794,18 +794,23 @@ end Rake Tasks for Running your Tests --------------------------------- -You don't need to set up and run your tests by hand on a test-by-test basis. Rails comes with a number of commands to help in testing. The table below lists all commands that come along in the default Rakefile when you initiate a Rails project. +You don't need to set up and run your tests by hand on a test-by-test basis. +Rails comes with a number of commands to help in testing. +The table below lists all commands that come along in the default Rakefile +when you initiate a Rails project. | Tasks | Description | | ----------------------- | ----------- | -| `rake test` | Runs all unit, functional and integration tests. You can also simply run `rake` as Rails will run all the tests by default| -| `rake test:controllers` | Runs all the controller tests from `test/controllers`| -| `rake test:functionals` | Runs all the functional tests from `test/controllers`, `test/mailers`, and `test/functional`| -| `rake test:helpers` | Runs all the helper tests from `test/helpers`| -| `rake test:integration` | Runs all the integration tests from `test/integration`| -| `rake test:mailers` | Runs all the mailer tests from `test/mailers`| -| `rake test:models` | Runs all the model tests from `test/models`| -| `rake test:units` | Runs all the unit tests from `test/models`, `test/helpers`, and `test/unit`| +| `rake test` | Runs all unit, functional and integration tests. You can also simply run `rake` as Rails will run all the tests by default | +| `rake test:controllers` | Runs all the controller tests from `test/controllers` | +| `rake test:functionals` | Runs all the functional tests from `test/controllers`, `test/mailers`, and `test/functional` | +| `rake test:helpers` | Runs all the helper tests from `test/helpers` | +| `rake test:integration` | Runs all the integration tests from `test/integration` | +| `rake test:mailers` | Runs all the mailer tests from `test/mailers` | +| `rake test:models` | Runs all the model tests from `test/models` | +| `rake test:units` | Runs all the unit tests from `test/models`, `test/helpers`, and `test/unit` | +| `rake test:all` | Runs all tests quickly by merging all types and not resetting db | +| `rake test:all:db` | Runs all tests quickly by merging all types and resetting db | Brief Note About `MiniTest` |