Sha256: c3c523340d006ebbd4001657f126d0aea980f85247ff8620964c6038b90398ca
Contents?: true
Size: 521 Bytes
Versions: 2
Compression:
Stored size: 521 Bytes
Contents
require 'rspec/core/rake_task' require 'cucumber/rake/task' namespace :test do desc "Runs unit tests" RSpec::Core::RakeTask.new(:unit) do |t| t.pattern = "spec" end Cucumber::Rake::Task.new(:integration) do |t| t.cucumber_opts = "features" end end desc 'Runs unit and integration tests' task :test => ['test:unit', 'test:integration'] desc 'Generates a coverage report' task :coverage do ENV['COVERAGE'] = 'true' rm_rf "coverage/" task = Rake::Task['test'] task.reenable task.invoke end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aws-sdk-core-2.0.0.rc6 | tasks/test.rake |
aws-sdk-core-2.0.0.rc5 | tasks/test.rake |