I don't know about any Rake tasks here, but you can just just use ruby. 

Run a test case as in console_test.rb with:

  ruby -Itest -I../activesupport/lib test/application/console_test.rb

With the -n option you can additionally pick particular tests from that test 
case. E.g. to run the first test:

  ruby -Itest -I../activesupport/lib test/application/console_test.rb -n 
test_app_method_should_return_integration_session

Or run tests that match "integration_session":

  ruby -Itest -I../activesupport/lib test/application/console_test.rb -n 
/integration_session/

hth


On Feb 13, 2010, at 11:44 PM, siong1987 wrote:

> for example, i want to run only one single test for edge. what command
> should i use?. the test i want to run is at the path: "/railties/test/
> application/console_test.rb"
> 
> any idea? Thank you.
> 
> And, I am actually trying to patch
> https://rails.lighthouseapp.com/projects/8994/tickets/3822-reload-doesnt-reload
> . Is the ticket valid?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Core" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-core?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to