Overriding existing Rake tasks

I added some long-running integration tests to a Rails application today and quickly began getting irritated that issuing the rake command runs all tests… unit, functional, AND integration. Since I run rake quite frequently, any sizable delay can quickly get annoying. The task that gets executed by rake is the … Continue reading

Rails test results without the cruft

Ever notice the cruft you get when running Rails tests from the command line? It’s horrible, especially if your project has more than a dozen test files: /opt/local/bin/ruby -Ilib:test “/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb” “test/unit/activity_test.rb” “test/unit/address_test.rb” “test/unit/application_helper_test.rb” “test/unit/course_calculations_test.rb” “test/unit/course_test.rb” “test/unit/course_type_test.rb” “test/unit/credit_hour_test.rb” “test/unit/email_test.rb” “test/unit/exam_test.rb” “test/unit/gender_test.rb” “test/unit/grade_test.rb” “test/unit/level_test.rb” “test/unit/notifier_test.rb” “test/unit/numeric_test.rb” “test/unit/obfuscator_test.rb” “test/unit/order_test.rb” “test/unit/school_test.rb” “test/unit/string_test.rb” “test/unit/student_test.rb” “test/unit/transcript_test.rb” … Continue reading