提交 5865fba6 编写于 作者: A Arun Agrawal

Merge pull request #17618 from sandipransing/testing-guide

[ci skip] Remove deprecated testing tasks
......@@ -792,8 +792,7 @@ when you initiate a Rails project.
| Tasks | Description |
| ----------------------- | ----------- |
| `rake test` | Runs all tests in the test folder by default |
| `rake test:all` | Runs tests quickly by merging all types and not resetting the db |
| `rake test` | Runs all tests in the `test` folder 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` |
......@@ -802,8 +801,7 @@ when you initiate a Rails project.
| `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:db` | Runs all tests and resets the db |
| `rake test:all:db` | Runs tests quickly by merging all types and resets the db |
| `rake test:db` | Runs all tests in the `test` folder and resets the db |
Brief Note About `Minitest`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册