Busser::RunnerPlugin::Rspec
A Busser runner plugin for Rspec
Installation and Setup
Please read the Busser plugin usage page for more details.
Usage
Please put test files into [COOKBOOK]/test/integration/[SUITES]/rspec/
-- [COOKBOOK]
`-- test
`-- integration
`-- default
`-- rspec
`-- spec_helper.rb
`-- Gemfile
You can specify your own test gem dependencies with a Gemfile
under the rspec
path, like this: test/integration/<suite>/rspec/Gemfile
. Don't forget to put gem "rspec"
there!
How do I ... ?
Change the rspec formatter?
You may be familar with using the rspec -f
flag to change the rspec formatter. RSpec also offers a way to set the formatter from your specs:
RSpec.configure do |config|
# The same as `rspec -f documentation`
config.add_formatter "documentation"
Development
- Source hosted at GitHub
- Report issues/questions/feature requests on GitHub Issues
Pull requests are very welcome! Make sure your patches are well tested. Ideally create a topic branch for every separate change you make. For example:
- Fork the repo
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Authors
Created and maintained by Adam Jacob ([email protected])
Based on busser-serverspec, created and maintained by HIGUCHI Daisuke ([email protected])
License
Apache 2.0 (see LICENSE)