aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-04-05 15:44:23 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-04-05 15:44:41 -0700
commitc7a148f389a9aebd8b0f71b4de3672321bb523cc (patch)
tree74a48039df0b4e3f37a6da148420987a7e806a84 /railties/CHANGELOG.md
parent3844bb5ef8b66cd4447522b77a6dbfeae2caf226 (diff)
downloadrails-c7a148f389a9aebd8b0f71b4de3672321bb523cc.tar.gz
rails-c7a148f389a9aebd8b0f71b4de3672321bb523cc.tar.bz2
rails-c7a148f389a9aebd8b0f71b4de3672321bb523cc.zip
removing `rails test`, updating docs to show how to use `rake test`
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r--railties/CHANGELOG.md24
1 files changed, 5 insertions, 19 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md
index ae13c3ccc9..e4a08f68c1 100644
--- a/railties/CHANGELOG.md
+++ b/railties/CHANGELOG.md
@@ -38,37 +38,23 @@
*Sam Ruby*
-* Rails now generates a `test/test_helper.rb` file with `fixtures :all` commented out by default,
- since we don't want to force loading all fixtures for user when a single test is run. However,
- fixtures are still going to be loaded automatically for test suites.
-
- To force all fixtures to be create in your database, use `rails test -f` to run your test.
-
- *Prem Sichanugrist*
-
-* Add `rails test` command for running tests
+* Improved `rake test` command for running tests
To run all tests:
- $ rails test
+ $ rake test
To run a test suite
- $ rails test [models,helpers,units,controllers,mailers,...]
+ $ rake test:[models,helpers,units,controllers,mailers,...]
To run a selected test file(s):
- $ rails test test/unit/foo_test.rb [test/unit/bar_test.rb ...]
+ $ rake test test/unit/foo_test.rb [test/unit/bar_test.rb ...]
To run a single test from a test file
- $ rails test test/unit/foo_test.rb -n test_the_truth
-
- For more information, see `rails test --help`.
-
- This command will eventually replace `rake test:*` and `rake test` tasks.
-
- *Prem Sichanugrist and Chris Toomey*
+ $ rake test test/unit/foo_test.rb TESTOPTS='-n test_the_truth'
* Improve service pages with new layout (404, etc).