forked from Praqma/Praqmatic-Automated-Changelog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
39 lines (31 loc) · 741 Bytes
/
Rakefile
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
32
33
34
35
36
37
task :default => [:test]
task :test do
Dir.glob('test/unit/*.rb').each do |testfile|
ruby "#{testfile}"
end
end
task :functional_test do
Dir.glob('test/functional/*.rb').each do |testfile|
ruby "#{testfile} --verbose=verbose"
end
end
task :functional_trac do
Dir.glob('test/functional/*trac*.rb').each do |testfile|
ruby "#{testfile} --verbose=verbose"
end
end
task :functional_jira do
Dir.glob('test/functional/*jira*.rb').each do |testfile|
ruby "#{testfile} --verbose=verbose"
end
end
task :functional_vcs do
Dir.glob('test/functional/*vcs*.rb').each do |testfile|
puts testfile
ruby "#{testfile} --verbose=verbose"
end
end
task :coverage do
ENV['COVERAGE'] = 'on'
Rake::Task['test'].execute
end