Class | Hydra::TestTask |
In: |
lib/hydra/tasks.rb
|
Parent: | Hydra::Task |
Define a test task that uses hydra to test the files.
Hydra::TestTask.new('hydra') do |t| t.add_files 'test/unit/**/*_test.rb' t.add_files 'test/functional/**/*_test.rb' t.add_files 'test/integration/**/*_test.rb' t.verbose = false # optionally set to true for lots of debug messages t.autosort = false # disable automatic sorting based on runtime of tests end