Sha256: 4451bd481a34e1dcfd1623c063590c3ba51ba94438f068e5878bcb8c8f017c4b

Contents?: true

Size: 510 Bytes

Versions: 1

Compression:

Stored size: 510 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"
require 'racatt'

namespace 'cucumber_analytics' do

  task :clear_coverage do
    code_coverage_directory = "#{File.dirname(__FILE__)}/coverage"

    FileUtils.remove_dir(code_coverage_directory, true)
  end


  Racatt.create_tasks

  # Redefining the task from 'racatt' in order to clear the code coverage results
  task :test_everything, [:command_options] => :clear_coverage

end


task :default => 'cucumber_analytics:test_everything'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cucumber_analytics-1.5.2 Rakefile