forked from halorgium/dm-salesforce
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRakefile
More file actions
21 lines (16 loc) · 659 Bytes
/
Copy pathRakefile
File metadata and controls
21 lines (16 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'rubygems'
require 'bundler'
Bundler.require(:default, :test)
require 'spec'
require 'spec/rake/spectask'
desc "Run specs"
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_files = [ "spec/spec_helper.rb"] + Dir["spec/**/*_spec.rb" ]
t.spec_opts += [ "-fs", "--color", "--loadby", "random" ]
# Disable rcov for now. Weird duplicate-include with spec_helper.
# t.rcov = ENV.has_key?('NO_RCOV') ? ENV['NO_RCOV'] != 'true' : true
t.rcov = false
t.rcov_opts += [ '--exclude', '~/.salesforce,gems,vendor,/var/folders,spec,config,tmp' ]
t.rcov_opts += [ '--text-summary', '--sort', 'coverage', '--sort-reverse' ]
end
task :default => 'spec'