Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove performance tests from the default stack | Yves Senn | 2013-01-10 | 1 | -1/+1 |
| | |||||
* | extract PerformanceTest into rails-performance_tests gem | Yves Senn | 2013-01-10 | 1 | -11/+0 |
| | |||||
* | Rake test:uncommitted finds git directory in ancestors. | Nicolas Despres | 2012-11-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | Sometimes your git directory is an ancestor of your application root directory. For example: ./repo/.git/ ./repo/app/Rakefile In this case rake test:uncommitted will be unable to detect your SCM. This patch fixes this and add a test. | ||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -14/+14 |
| | |||||
* | Update test locations | Mike Moore | 2012-10-09 | 1 | -6/+30 |
| | | | | | | | | | | | | | | Change the default test locations to avoid confusion around the common testing terms "unit" and "functional". Add new rake tasks for the new locations, while maintaining backwards compatibility with the old rake tasks. New testing locations are as follows: app/models -> test/models (was test/units) app/helpers -> test/helpers (was test/units/helpers) app/controllers -> test/controllers (was test/functional) app/mailers -> test/mailers (was test/functional) | ||||
* | Revert "Use flat_map { } instead of map {}.flatten" | Santiago Pastorino | 2012-10-05 | 1 | -2/+2 |
| | | | | | | | | | | | This reverts commit abf8de85519141496a6773310964ec03f6106f3f. We should take a deeper look to those cases flat_map doesn't do deep flattening. irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten => [1, 3, 1, 2] irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i} => [[1, 3], [1, 2]] | ||||
* | Use flat_map { } instead of map {}.flatten | Santiago Pastorino | 2012-10-05 | 1 | -2/+2 |
| | |||||
* | ignore .gitignore'd files in rake test:uncomitted | Akira Matsuda | 2012-06-12 | 1 | -1/+1 |
| | |||||
* | Fix that failed tests should exit with a nonzero error code. | Jeremy Kemper | 2012-02-07 | 1 | -1/+15 |
| | | | | | | Partially reverts 14c89e7285d4e7cd40a542fbc31d9345f60c3aa4. Hat tip to @tenderlove for paring down the TestTask! | ||||
* | Rails::Plugin has gone | Santiago Pastorino | 2012-01-03 | 1 | -11/+1 |
| | |||||
* | Move SubTestTask. Soften up tests. | Jeremy Kemper | 2011-12-21 | 1 | -38/+1 |
| | |||||
* | Restore `rake TEST=test/unit/foo_test.rb` support. | Jeremy Kemper | 2011-12-21 | 1 | -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 Kemper | 2011-12-21 | 1 | -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 Agrawal | 2011-11-09 | 1 | -10/+3 |
| | | | Thanks to @sobrinho (Gabriel Sobrinho) | ||||
* | Should be checking if file exists or not. | Arun Agrawal | 2011-11-08 | 1 | -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 Agrawal | 2011-10-29 | 1 | -0/+1 |
| | |||||
* | testing.rake should set the default task, closes #2564 | José Valim | 2011-10-07 | 1 | -0/+2 |
| | |||||
* | For svn files also spilt required | Arun Agrawal | 2011-07-23 | 1 | -1/+1 |
| | |||||
* | Spliting the ouput of git ls-files for running tasks Fixes #713 | Arun Agrawal | 2011-07-23 | 1 | -1/+1 |
| | |||||
* | Add test to rake test for error messages | Wen-Tien Chang | 2011-06-30 | 1 | -1/+5 |
| | |||||
* | Make "rake test" display not only task name but also exception message. | Wen-Tien Chang | 2011-06-29 | 1 | -2/+2 |
| | |||||
* | prevent rake test to run the test suite three times when ENV['TEST'] is set ↵ | David Calavera | 2010-10-10 | 1 | -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 RbConfig | Santiago Pastorino | 2010-08-23 | 1 | -1/+2 |
| | |||||
* | Corrected the rake test:units and test:functionals description [#5251 ↵ | Prashant P. Shah | 2010-08-01 | 1 | -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 Noria | 2010-06-14 | 1 | -1/+1 |
| | | | | not "ActiveRecord" | ||||
* | Cut down even further on rake -T noise | David Heinemeier Hansson | 2010-06-09 | 1 | -13/+37 |
| | |||||
* | Use Config::CONFIG['host_os'] instead of RUBY_PLATFORM [#4477 state:resolved] | Anil Wadghule | 2010-04-26 | 1 | -1/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ensure application rake tasks and generators are loaded after the ones ↵ | José Valim | 2010-04-26 | 1 | -0/+2 |
| | | | | specified in railties/engines/rails. [#4471 state:resolved] | ||||
* | Use correct RUBY_PLATFORM regex for Windows env [#4385 state:resolved] | Anil Wadghule | 2010-04-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | db:test:prepare for tasks only if AR is loaded | Santiago Pastorino | 2010-04-09 | 1 | -7/+11 |
| | |||||
* | Only load testing tasks if test unit is being used. | José Valim | 2010-01-29 | 1 | -0/+130 |