Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add basic autotest autodiscover

  • Loading branch information...
commit f49cf397fbd070f381eaf2802fa262c6539e52b6 1 parent 0c58373
Alexander Rozumiy authored
Showing with 15 additions and 0 deletions.
  1. +2 −0  Gemfile
  2. +6 −0 Gemfile.lock
  3. +7 −0 autotest/discover.rb
2  Gemfile
View
@@ -22,5 +22,7 @@ gem 'dm-redis-adapter'
group :development do
#auto reload web server in development
gem 'shotgun'
+ gem 'autotest'
+ gem 'autotest-growl'
gem 'ruby-debug', :platforms => :ruby_18
end
6 Gemfile.lock
View
@@ -15,7 +15,11 @@ GIT
GEM
remote: http://rubygems.org/
specs:
+ ZenTest (4.6.2)
addressable (2.2.6)
+ autotest (4.4.6)
+ ZenTest (>= 4.4.1)
+ autotest-growl (0.2.16)
backports (2.3.0)
bcrypt-ruby (3.0.1)
columnize (0.3.6)
@@ -143,6 +147,8 @@ PLATFORMS
ruby
DEPENDENCIES
+ autotest
+ autotest-growl
data_mapper
dm-redis-adapter
dm-sqlite-adapter
7 autotest/discover.rb
View
@@ -0,0 +1,7 @@
+Autotest.add_discovery { "rspec2" }
+
+Autotest.add_hook :initialize do |at|
+ at.add_mapping(%r%^spec/.*\.rb$%) do |filename, _|
+ filename
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.