Sha256: ffee31b0a5bdd859e730460399381a66a73c551605195b1f40d6eff5babb6221

Contents?: true

Size: 721 Bytes

Versions: 32

Compression:

Stored size: 721 Bytes

Contents

namespace :hyhead do
  begin
    require 'cucumber/rake/task'
    require 'rspec/core'
    require 'rspec/core/rake_task'

    desc "Run HydraHead cucumber and rspec, with test solr"
    task :all_tests => ['hyhead:spec:with_solr', 'hyhead:cucumber:with_solr']
    
    namespace :all_tests do
      desc "Run HydraHead rspec and cucumber tests with rcov"
      rm "hyhead-coverage.data" if File.exist?("hyhead-coverage.data")
      task :rcov => ['hyhead:spec:rcov', 'hyhead:cucumber:rcov']
    end
    
  rescue LoadError
    desc "Not available! (cucumber and rspec not avail)"
    task :all_tests do
      abort 'Not available. Both cucumber and rspec need to be installed to run hyhead:all_tests'
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
hydra-head-4.0.0.rc5 lib/railties/all_tests.rake
hydra-head-4.0.0.rc4 lib/railties/all_tests.rake
hydra-head-4.0.0.rc3 lib/railties/all_tests.rake
hydra-head-4.0.0.rc2 lib/railties/all_tests.rake
hydra-head-3.3.0 lib/railties/all_tests.rake
hydra-head-3.2.2 lib/railties/all_tests.rake
hydra-head-3.2.1 lib/railties/all_tests.rake
hydra-head-3.2.0 lib/railties/all_tests.rake
hydra-head-3.2.0.pre3 lib/railties/all_tests.rake
hydra-head-3.2.0.pre2 lib/railties/all_tests.rake
hydra-head-3.2.0.pre1 lib/railties/all_tests.rake
hydra-head-3.1.5 lib/railties/all_tests.rake
hydra-head-3.1.4 lib/railties/all_tests.rake
hydra-head-3.1.3 lib/railties/all_tests.rake
hydra-head-3.1.2 lib/railties/all_tests.rake
hydra-head-3.1.1 lib/railties/all_tests.rake
hydra-head-3.1.0 lib/railties/all_tests.rake
hydra-head-3.1.0.rc2 lib/railties/all_tests.rake
hydra-head-3.1.0.rc1 lib/railties/all_tests.rake
hydra-head-3.1.0.pre5 lib/railties/all_tests.rake