update the guides to reflect the new `rails test` command #10073

Closed
wants to merge 2 commits into
from

Projects

None yet

3 participants

@senny
Member
senny commented Apr 3, 2013

There were a few sections in the guides that still mentioned the rake tasks to run the tests. I updated them to reference the new rails test command and added some links to the testing guide.

Also while I was at it I reconditioned the references section in the testing guide.

@senny
Member
senny commented Apr 3, 2013
@sikachu sikachu commented on the diff Apr 3, 2013
guides/source/command_line.md
@@ -300,6 +300,17 @@ irb(main):001:0>
INFO: You can also use the alias "db" to invoke the dbconsole: `rails db`.
+### `rails test`
+
+INFO: A good description of unit testing in Rails is given in
+[A Guide to Testing Rails Applications](testing.html)
+
+Rails comes with a test suite called `Test::Unit`. Rails owes its stability to
@sikachu
sikachu Apr 3, 2013 Ruby on Rails member

I'm not sure if we should call it Test::Unit specifically, since:

  1. It's now Minitest.
  2. Test classes are inherited from ActiveSupport::TestCase.
@senny
senny Apr 3, 2013 Ruby on Rails member

I copied this part from below so I don't mind using a different name.

@carlosantoniodasilva @rafaelfranca what do you guys think?

@steveklabnik
Member

I thought rails test was going away, or at least, @tenderlove is shooting for it.

@senny
Member
senny commented Apr 8, 2013

@steveklabnik thanks for the heads-up. As rails test won't be in Rails 4 this PR does not make a lot of sense.

@senny senny closed this Apr 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment