-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathRakefile
More file actions
31 lines (26 loc) · 668 Bytes
/
Copy pathRakefile
File metadata and controls
31 lines (26 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env rake
require "bundler/gem_tasks"
require "rake/testtask"
Rake::TestTask.new do |t|
t.pattern = "test/*_test.rb"
end
desc "Run mutation tests"
task :mutate do
require 'mutant'
Kernel.exit(
Mutant::CLI.run(
%q[
--include lib
--require exponential_backoff.rb
--use minitest
--ignore-subject ExponentialBackoff#intervals
--ignore-subject ExponentialBackoff#until_success
--ignore-subject ExponentialBackoff#iteration_active?
--ignore-subject ExponentialBackoff#randomized_interval
-- ExponentialBackoff*
].split
)
)
end
desc "Run tests"
task :default => :test