-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathRakefile
More file actions
32 lines (18 loc) · 720 Bytes
/
Copy pathRakefile
File metadata and controls
32 lines (18 loc) · 720 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
#!/usr/bin/env rake
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('../config/application', __FILE__)
require 'rake/testtask'
require 'coveralls/rake/task'
namespace :test do
%w(features functional helpers integration performance unit).each do |name|
Rake::TestTask.new(name) do |t|
t.libs = %W(lib/#{ name } test test/#{ name })
t.pattern = "test/#{ name }/**/*_test.rb"
end
end
end
Coveralls::RakeTask.new
task :test_with_coveralls => [:spec, 'test:unit', 'coveralls:push']
Rake::TestTask.new(test_all: [:spec, 'test:unit'])
OraHydra::Application.load_tasks