# encoding: utf-8 require "rubygems" require "bundler/setup" # 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 for testing" task :mutant do system "bundle exec mutant -r ./spec/spec_helper --use rspec 'Assertion*'" end