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

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
3 participants
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.

Member

senny commented Apr 3, 2013

+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

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

Member

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

@carlosantoniodasilva @rafaelfranca what do you guys think?

Member

steveklabnik commented Apr 3, 2013

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

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