Closed MrDys closed 12 years ago
Original reporter: cbeer
jrochkind: http://bit.ly/if4rJ7
all_tests when cucumber/rspec not avail, fail cleanly. CODEBASE-330
Follow cucumber_rails and rspec_rails pattern. Require cucumber/rspec. Catch LoadError when they aren't available. In rescue, define a placeholder task that just tells you you need to install cucumber and rspec to get blacklight:all_tests.
Again following lead of rspec-rails/cucumber-rails, although we define two tasks here, blacklight:all_tests and blacklight:all_tests:rcov, we only define one failure mode dummy placeholder, the 'main' one, blacklight:all_tests
CODEBASE-330: The blacklight:spec and blacklight:cucumber tests are not displayed in
rake -T
when their gems are not available. The same should be done for the blacklight:all_tests rake tasks.