Sha256: d16c8ec0c41e9d4c4644d48597d2e0a1061e3cfa1e588956a292853cd194002c

Contents?: true

Size: 855 Bytes

Versions: 4

Compression:

Stored size: 855 Bytes

Contents

# encoding: utf-8

require "bundler/setup"
require "rubygems"

# 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

desc "Sets the Hexx::RSpec :test task to default"
task :default do
  system "bundle exec rake test:coverage:run"
end

desc "Runs mutation metric for testing"
task :mutant do
  system "mutant -r ./spec/spec_helper --use rspec AttributesDSL* --fail-fast"
end

desc "Exhort all evils"
task :exhort do
  system "mutant -r ./spec/spec_helper --use rspec AttributesDSL*"
end

desc "Runs all the necessary metrics before making a commit"
task prepare: %w(exhort check:inch check:rubocop check:fu)

desc "Runs benchmarks"
task :benchmark do
  system "ruby benchmark/run.rb"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
attributes_dsl-0.1.1 Rakefile
attributes_dsl-0.1.0 Rakefile
attributes_dsl-0.0.2 Rakefile
attributes_dsl-0.0.1 Rakefile