rmm5t / dotfiles

Ryan McGeary's configuration shiznit that makes him productive

This URL has Read+Write access

dotfiles / sake
100644 28 lines (24 sloc) 0.86 kb
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
task 'rcov' do
  test_files = "test/**/*_test.rb"
  options = "--rails --sort coverage --sort-reverse "
  options = (options + "--exclude .railsrc")
  system("rcov -Itest #{options} #{test_files}")
end
 
task 'rcov:functionals' do
  test_files = "test/functional/*_test.rb"
  options = "--rails --sort coverage --sort-reverse "
  options = (options + "--exclude .railsrc")
  system("rcov -Itest #{options} #{test_files}")
end
 
task 'rcov:integration' do
  test_files = "test/integration/*_test.rb"
  options = "--rails --sort coverage --sort-reverse "
  options = (options + "--exclude .railsrc")
  system("rcov -Itest #{options} #{test_files}")
end
 
task 'rcov:units' do
  test_files = "test/unit/*_test.rb"
  options = "--rails --sort coverage --sort-reverse "
  options = (options + "--exclude .railsrc")
  system("rcov -Itest #{options} #{test_files}")
end