Forum: Ruby on Rails No rake db:test:* commands in my Rails rake. Where may I find all missing rake commands?

1ac774797c9e79861840599b23653c3c?d=identicon&s=25 Wins Lin (zvooq)
on 2013-05-26 20:47
In Rails Guides
(http://guides.rubyonrails.org/testing.html#prepari...)
they mention some "rake db:test:load" command and other "rake db:test:*"
commands. But when I do "rake -D db" or "rake -T" there is no any "rake
db:test" in the output.

It makes me think that there are dozens of rake commands that are not
distributed when I do "rake -T" (Display the tasks (matching optional
PATTERN) with descriptions) or "rake -D task" (Describe the tasks
(matching optional PATTERN) with descriptions).

Is there one special place where ALL Rails rake commands are presented
with full explanation for them? Some Rake API?

I use Rails 3.2.13
F50d3b02eee623a2172b58c09fe31c2c?d=identicon&s=25 mike (Guest)
on 2013-05-26 22:49
(Received via mailing list)
On Sunday, May 26, 2013 2:47:38 PM UTC-4, Ruby-Forum.com User wrote:
> distributed when I do "rake -T" (Display the tasks (matching optional
> PATTERN) with descriptions) or "rake -D task" (Describe the tasks
> (matching optional PATTERN) with descriptions).
>
> Is there one special place where ALL Rails rake commands are presented
> with full explanation for them? Some Rake API?
>
> --
> Posted via http://www.ruby-forum.com/.
>

not that I know of.  the issue with trying to document such a list is
that
rake isn't an API, it's a general utility for automating tasks.  rake
tasks
can be defined and created by gems, you can also create your own.
 Therefore, it would be difficult to document them all in one place,
they're usually documented with the functionality they support.  For
example, the edge guide on migrations documents rake tasks related to
migrations.

There is an overview of the rake commands and the various categories of
tasks that are provided in the default rails bundle at the following:

http://edgeguides.rubyonrails.org/command_line.html#rake
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.