root/Rakefile

Revision 1, 1.2 kB (checked in by myles, 11 months ago)

Initial fork from 88 Miles

Line 
1 require 'rake'
2 require 'rake/testtask'
3 require 'rake/rdoctask'
4
5 desc 'Default: run unit tests.'
6 task :default => :test
7 task :contact_test
8
9 desc 'Test the SaasuConnect plugin'
10 Rake::TestTask.new(:test) do |t|
11         t.libs << 'lib'
12         t.pattern = 'test/**/*_test.rb'
13         t.verbose = true
14 end
15
16 desc 'Test bank_account class from the SaasuConnect plugin'
17 Rake::TestTask.new(:bank_account_test) do |t|
18         t.libs << 'lib'
19         t.pattern = 'test/**/bank_account_test.rb'
20         t.verbose = true
21 end
22
23 desc 'Test contact class from the SaasuConnect plugin'
24 Rake::TestTask.new(:contact_test) do |t|
25         t.libs << 'lib'
26         t.pattern = 'test/**/contact_test.rb'
27         t.verbose = true
28 end
29
30 desc 'Test contact category class from the SaasuConnect plugin'
31 Rake::TestTask.new(:contact_category_test) do |t|
32         t.libs << 'lib'
33         t.pattern = 'test/**/contact_category_test.rb'
34         t.verbose = true
35 end
36
37 desc 'Test transaction category class from the SaasuConnect plugin'
38 Rake::TestTask.new(:transaction_category_test) do |t|
39         t.libs << 'lib'
40         t.pattern = 'test/**/transaction_category_test.rb'
41         t.verbose = true
42 end
43
44 desc 'Test invoice class from the SaasuConnect plugin'
45 Rake::TestTask.new(:invoice_test) do |t|
46         t.libs << 'lib'
47         t.pattern = 'test/**/invoice_test.rb'
48         t.verbose = true
49 end
Note: See TracBrowser for help on using the browser.