A Busser runner plugin for Serverspec
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.
Put this into your kitchen.yml
:
verifier:
name: busser
You may also take a look at the Busser plugin usage page.
Please put test files into [COOKBOOK]/test/integration/[SUITES]/serverspec/
`-- test
`-- integration
`-- default
`-- serverspec
|-- Gemfile
|-- localhost
| `-- httpd_spec.rb
`-- spec_helper.rb
Gemfile
is optional. You can specify installing Serverspec version and install gems you need.
Globbing pattern to match files is "serverspec/*/*_spec.rb"
.
You need to use "_spec.rb"
(underscore), not "-spec.rb"
(minus).
If you have to specify Serverspec version, you can use Gemfile. Example Gemfile:
source 'https://rubygems.org'
gem 'serverspec', '< 2.0'
It runs on a target server for testing after ssh log in it.
So you need to specify set :backend, :exec
not set :backend, :ssh
(Serverspec v2).
If you use Serverspec v1, you need to specify include SpecInfra::Helper::Exec
not include SpecInfra::Helper::Ssh
.
- 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
Created and maintained by HIGUCHI Daisuke (d-higuchi@creationline.com)
Apache 2.0 (see LICENSE)