Skip to content

Commit

Permalink
update the default rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
shime committed Jan 12, 2013
1 parent 71a4ff2 commit 4f9848f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,18 @@ https://github.com/airbrake/airbrake/wiki
Development
-----------

Use `bundle && rake` to run the tests.
We use [Appraisals](https://github.com/thoughtbot/appraisal) to run the tests.

To run the test suite on your machine, you need to run the following commands:

bundle
bundle exec rake appraisal:install

After this, you're ready to run the suite with:

bundle exec rake

This will include cucumber features we use to fully test the integration.

Credits
-------
Expand Down
6 changes: 4 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ end
require './lib/airbrake/version'

task :default do
exec 'rake appraisal test'
exec 'rake appraisal cucumber'
exec 'rake appraisal:rails-3.0 test '\
'&& rake appraisal:rails-3.1 test '\
'&& rake appraisal:rails-3.2 test '\
'&& rake appraisal cucumber'\
end

desc 'Test the airbrake gem.'
Expand Down
1 change: 0 additions & 1 deletion airbrake.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Gem::Specification.new do |s|
s.add_development_dependency("aruba")
s.add_development_dependency("appraisal")
s.add_development_dependency("rspec-rails")
s.add_development_dependency("sinatra")
s.add_development_dependency("girl_friday")
s.add_development_dependency("json-schema")

Expand Down

0 comments on commit 4f9848f

Please sign in to comment.