Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/test-kitchen/busser-rspec
Run RSpec tests through busser
https://github.com/test-kitchen/busser-rspec
hacktoberfest managed-by-terraform ruby ruby-gem test-kitchen testing
Last synced: 28 days ago
JSON representation
Run RSpec tests through busser
- Host: GitHub
- URL: https://github.com/test-kitchen/busser-rspec
- Owner: test-kitchen
- License: other
- Created: 2013-05-29T23:18:10.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T02:40:05.000Z (about 1 year ago)
- Last Synced: 2024-04-14T04:20:55.310Z (8 months ago)
- Topics: hacktoberfest, managed-by-terraform, ruby, ruby-gem, test-kitchen, testing
- Language: Ruby
- Homepage:
- Size: 28.3 KB
- Stars: 11
- Watchers: 29
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Busser::RunnerPlugin::Rspec
A Busser runner plugin for Rspec
## Status
This software project is no longer under active development as it has no active maintainers. The software may continue to work for some or all use cases, but issues filed in GitHub will most likely not be triaged. If a new maintainer is interested in working on this project please come chat with us in #test-kitchen on Chef Community Slack.
## Installation and Setup
Please read the Busser [plugin usage](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//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:
```ruby
RSpec.configure do |config|
# The same as `rspec -f documentation`
config.add_formatter "documentation"
```## Development
* Source hosted at [GitHub](https://github.com/opscode/busser-rspec)
* Report issues/questions/feature requests on [GitHub Issues](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:1. Fork the repo
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request## Authors
Created and maintained by Adam Jacob ([email protected])
Based on [busser-serverspec](https://github.com/cl-lab-k/busser-serverspec), created and maintained by HIGUCHI Daisuke ([email protected])
## License
Apache 2.0 (see [LICENSE](license))