Sha256: ca372916f374d0e795ef7d12d3df7dce552a41c6448273a24d4d4a8b62bb752c

Contents?: true

Size: 777 Bytes

Versions: 1

Compression:

Stored size: 777 Bytes

Contents

# encoding: utf-8
begin
  require "bundler/setup"
rescue LoadError
  puts "You must `gem install bundler` and `bundle install` to run rake tasks"
  exit
end

# Loads bundler tasks
Bundler::GemHelper.install_tasks

# Loads the Hexx::RSpec and its tasks
begin
  require "hexx-suit"
  Hexx::Suit.install_tasks
rescue LoadError
  require "hexx-rspec"
  Hexx::RSpec.install_tasks
end

# Sets the Hexx::RSpec :test task to default
task :default do
  system "bundle exec rspec spec"
end

desc "Runs mutation metric before the first evil being kept"
task :exhort do
  system "mutant -r ./spec/spec_helper --use rspec AbstractMapper* --fail-fast"
end

desc "Runs mutation metric to view all evils"
task :mutant do
  system "mutant -r ./spec/spec_helper --use rspec AbstractMapper*"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
abstract_mapper-0.0.1 Rakefile