Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

A Busser runner plugin for the serverspec testing library

License

Notifications You must be signed in to change notification settings

dai-vdr/busser-serverspec

 
 

Repository files navigation

Busser::RunnerPlugin::Serverspec

Gem Version Build Status Code Climate

A Busser runner plugin for Serverspec

Status

This Gem has now been archived. No active maintainers have come forward in the past 5 years and the original maintainer has since pulled the plugin.

We recommend moving to a maintained project for similar functionality or building and running the Gem yourself.

Installation and Setup

Put this into your kitchen.yml:

verifier:
  name: busser

You may also look at the Busser plugin usage page.

Usage

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 the gems you need.

Note

File Matching

The globbing pattern to match files is "serverspec/*/*_spec.rb". You need to use "_spec.rb" (underscore), not "-spec.rb" (minus).

Specify Serverspec version

If you have to specify the Serverspec version, you can use Gemfile. Example Gemfile:

source 'https://rubygems.org'
gem 'serverspec', '< 2.0'

Serverspec backend

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 must specify include SpecInfra::Helper::Exec not include SpecInfra::Helper::Ssh.

Authors

Created and maintained by HIGUCHI Daisuke ([email protected])

License

Apache 2.0 (see LICENSE)

About

A Busser runner plugin for the serverspec testing library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 76.9%
  • Gherkin 23.1%