Skip to content

Instantly share code, notes, and snippets.

@elcontrastador
Created November 28, 2011 18:29
Show Gist options
  • Save elcontrastador/1401422 to your computer and use it in GitHub Desktop.
Save elcontrastador/1401422 to your computer and use it in GitHub Desktop.
[net_config (Story21505641)]$ cat autotest/discover.rb
Autotest.add_discovery { "rspec2" }
#Autotest.add_discovery { "cucumber" }
[net_config (Story21505641)]$ gem list | grep autotest
autotest (4.4.6)
autotest-fsevent (0.2.7)
autotest-growl (0.2.16)
autotest-rails-pure (4.1.2)
autotest-standalone (4.5.8)
# autotest initiated test
/Users/tyler/.rvm/rubies/ruby-1.9.3-p0/bin/ruby -rrubygems -S /Users/tyler/.rvm/gems/ruby-1.9.3-p0/gems/rspec-core-2.7.1/exe/rspec --tty '/Users/tyler/_devel_repo/net_config/spec/net_config/aaa_spec.rb' '/Users/tyler/_devel_repo/net_config/spec/net_config/commands_spec.rb' '/Users/tyler/_devel_repo/net_config/spec/net_config/loader_spec.rb' '/Users/tyler/_devel_repo/net_config/spec/net_config/runner_spec.rb' '/Users/tyler/_devel_repo/net_config/spec/net_config/utils_spec.rb' '/Users/tyler/_devel_repo/net_config/spec/net_config_spec.rb'
...................................................
Finished in 1.25 seconds
51 examples, 0 failures
^CInterrupt a second time to quit
[net_config (Story21505641)]$ rspec .
................................................................................................
Finished in 1.28 seconds
96 examples, 0 failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment