adds a Rakefile, with the default rule being set to run "spec".
fixes some flaky tests
Running rspec requires that the file spec/rails_helper.rb exist (even if it's empty).
Since the target app is a rails app, when using rspec, it appears that it is necessary to declare both "rails" and "railties" as dependencies in the perf_check gemspec, or tests won't pass consistently.
Also added the "fuubar" gem which makes rspec progress reporting more informative and pleasant.
Testing
[ ] pull this branch and cd to the directory
[ ] run bundle install to make sure all the proper gems are installed
[ ] run bundle exec rake -T and see the possible rake tasks
[ ] run bundle exec rake spec and watch the tests pass/skip
This PR:
Running
rspec
requires that the filespec/rails_helper.rb
exist (even if it's empty).Since the target app is a rails app, when using rspec, it appears that it is necessary to declare both "rails" and "railties" as dependencies in the perf_check gemspec, or tests won't pass consistently.
Also added the "fuubar" gem which makes rspec progress reporting more informative and pleasant.
Testing
cd
to the directorybundle install
to make sure all the proper gems are installedbundle exec rake -T
and see the possible rake tasksbundle exec rake spec
and watch the tests pass/skip