Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

establish a test environment

  • Loading branch information...
commit bc06391d7a6ae67547253b1612a50faff930744c 1 parent a98da79
@flyerhzm authored
View
11 Rakefile
@@ -0,0 +1,11 @@
+require 'rake'
+require 'rake/rdoctask'
+require 'spec/rake/spectask'
+
+desc "Run all specs in spec directory"
+Spec::Rake::SpecTask.new(:spec) do |t|
+ t.spec_files = FileList['spec/**/*_spec.rb']
+ t.rcov = true
+ t.rcov_opts = ['--exclude', 'spec,config,Library,usr/lib/ruby']
+ t.rcov_dir = File.join(File.dirname(__FILE__), "tmp")
+end
View
0  TODO
No changes.
View
8 spec/spec.opts
@@ -0,0 +1,8 @@
+--colour
+--format
+specdoc
+--reverse
+--timeout
+20
+--loadby
+mtime
View
5 spec/spec_helper.rb
@@ -0,0 +1,5 @@
+require 'rubygems'
+require 'spec/autorun'
+require 'date'
+
+require File.join(File.dirname(__FILE__), '/../lib/regexp_crawler.rb')
Please sign in to comment.
Something went wrong with that request. Please try again.