aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/test_unit/testing.rake
Commit message (Collapse)AuthorAgeFilesLines
...
* Rails::Plugin has goneSantiago Pastorino2012-01-031-11/+1
|
* Move SubTestTask. Soften up tests.Jeremy Kemper2011-12-211-38/+1
|
* Restore `rake TEST=test/unit/foo_test.rb` support.Jeremy Kemper2011-12-211-1/+5
| | | | | | | | | | | | | Add your own test tasks as dependencies on the `test:run` task instead of `test` itself. namespace :test do task run: 'test:acceptance' Rails::SubTestTask.new acceptance: 'test:prepare' do |t| t.libs << 'test' t.pattern = 'test/acceptance/**/*_test.rb' end end
* Rails::SubTestTask warns on test failure and moves on. Renamed from ↵Jeremy Kemper2011-12-211-45/+38
| | | | | | | | | | | | | | | | | TestTaskWithoutDescription. This makes it easier to add your own tests to the default suite: task test: 'test:acceptance' namespace :test do Rails::SubTestTask.new acceptance: 'test:prepare' do |t| t.libs << 'test' t.pattern = 'test/acceptance/**/*_test.rb' end end Now `rake` runs unit, functional, integration, and acceptance tests.
* Refactor test:uncommitted task.Arun Agrawal2011-11-091-10/+3
| | | Thanks to @sobrinho (Gabriel Sobrinho)
* Should be checking if file exists or not.Arun Agrawal2011-11-081-3/+9
| | | | | | I found this bug when running rake test:uncommitted on a newly generated rails app which don't have test file for application_controller. Can see detail here #3461
* method redefined warning removed!Arun Agrawal2011-10-291-0/+1
|
* testing.rake should set the default task, closes #2564José Valim2011-10-071-0/+2
|
* For svn files also spilt requiredArun Agrawal2011-07-231-1/+1
|
* Spliting the ouput of git ls-files for running tasks Fixes #713Arun Agrawal2011-07-231-1/+1
|
* Add test to rake test for error messagesWen-Tien Chang2011-06-301-1/+5
|
* Make "rake test" display not only task name but also exception message.Wen-Tien Chang2011-06-291-2/+2
|
* prevent rake test to run the test suite three times when ENV['TEST'] is set ↵David Calavera2010-10-101-1/+6
| | | | | | [#3572 state:resolved] Signed-off-by: Xavier Noria <fxn@hashref.com>
* Config is deprecated on 1.8.8 and 1.9.3 use RbConfigSantiago Pastorino2010-08-231-1/+2
|
* Corrected the rake test:units and test:functionals description [#5251 ↵Prashant P. Shah2010-08-011-1/+1
| | | | | | state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* edit pass: the names of Rails components have a space, ie, "Active Record", ↵Xavier Noria2010-06-141-1/+1
| | | | not "ActiveRecord"
* Cut down even further on rake -T noiseDavid Heinemeier Hansson2010-06-091-13/+37
|
* Use Config::CONFIG['host_os'] instead of RUBY_PLATFORM [#4477 state:resolved]Anil Wadghule2010-04-261-1/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ensure application rake tasks and generators are loaded after the ones ↵José Valim2010-04-261-0/+2
| | | | specified in railties/engines/rails. [#4471 state:resolved]
* Use correct RUBY_PLATFORM regex for Windows env [#4385 state:resolved]Anil Wadghule2010-04-131-1/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* db:test:prepare for tasks only if AR is loadedSantiago Pastorino2010-04-091-7/+11
|
* Only load testing tasks if test unit is being used.José Valim2010-01-291-0/+130