-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRakefile
More file actions
executable file
·57 lines (48 loc) · 1.88 KB
/
Rakefile
File metadata and controls
executable file
·57 lines (48 loc) · 1.88 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
$:.unshift('lib')
require 'spec/rake/spectask'
require 'spec/rake/verify_rcov'
RCOV_DIR = 'rcov'
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = 'rasta'
s.rubyforge_project = 'rasta'
s.platform = Gem::Platform::RUBY
s.email = 'hugh_mcgowan@yahoo.com'
s.homepage = "http://github.com/hmcgowan/rasta"
s.summary = "Rasta"
s.description = <<-EOF
Rasta is a keyword-driven test framework using spreadsheets
to drive test automation. It is also loosely based on FIT - tables
define test parameters which call your test fixture. As the
test runs, the spreadsheet is updated with test results.
EOF
s.authors = ['Hugh McGowan']
s.executables = ['rasta']
s.files = FileList[ "{bin,lib,spec}/**/*"]
s.add_dependency "rspec", [">= 1.1.11"]
s.add_dependency "roo", [">= 1.3.5"]
s.add_dependency "user-choices", [">= 1.1.6"]
s.add_dependency "libxml-ruby", [">= 1.1.3"]
s.add_dependency "libxslt-ruby", [">= 0.9.2"]
s.add_dependency "logrotate", [">= 1.1.0"]
s.has_rdoc = true
s.extra_rdoc_files = ["README", "LICENSE"]
s.rdoc_options = ["--main","README"]
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
Spec::Rake::SpecTask.new('test') do |t|
t.libs << File.join(File.dirname(__FILE__), 'lib')
t.spec_files = FileList['spec/*_spec.rb']
t.rcov = true
t.rcov_opts << '--exclude Library,examples,sandbox'
end
# Spec::Rake::SpecTask.new(:rcov) do |t|
# t.spec_files = FileList['spec/**/*.rb']
# t.libs << File.join(File.dirname(__FILE__), 'lib')
# t.rcov_dir = RCOV_DIR
# t.rcov_opts << '--text-report'
# end
task :default => :test