summaryrefslogtreecommitdiff
path: root/rake_tasks/test.rake
diff options
context:
space:
mode:
Diffstat (limited to 'rake_tasks/test.rake')
-rw-r--r--rake_tasks/test.rake13
1 files changed, 9 insertions, 4 deletions
diff --git a/rake_tasks/test.rake b/rake_tasks/test.rake
index 2a3d48e..894cd19 100644
--- a/rake_tasks/test.rake
+++ b/rake_tasks/test.rake
@@ -1,15 +1,20 @@
namespace :test do
- desc 'Test CodeRay Demos'
+ desc 'run all sample tests'
task :samples do
system 'ruby -wd ./sample/suite.rb'
end
- desc 'Test CodeRay'
+ desc 'run functional tests'
+ task :functional do
+ system 'ruby -wd ./test/functional/suite.rb'
+ end
+
+ desc 'run all scanner tests'
task :scanners do
system 'ruby -wd ./test/scanners/suite.rb'
end
- desc 'Clean test output files'
+ desc 'clean test output files'
task :clean do
for file in Dir['test/scanners/**/*.actual.*']
rm file
@@ -17,5 +22,5 @@ namespace :test do
end
end
-task :test => %w( test:scanners )
+task :test => %w( test:functional test:scanners )
task :samples => 'test:samples'