Module: Kitchen::Verifier

Defined in:
lib/kitchen/verifier.rb,
lib/kitchen/verifier/base.rb,
lib/kitchen/verifier/dummy.rb,
lib/kitchen/verifier/shell.rb,
lib/kitchen/verifier/busser.rb

Overview

A verifier is responsible for running tests post-converge to confirm that the instance is in a known/consistent state.

Author:

Defined Under Namespace

Classes: Base, Busser, Dummy, Shell

Constant Summary collapse

DEFAULT_PLUGIN =

Default verifier to use

"busser".freeze

Class Method Summary collapse

Class Method Details

.for_plugin(plugin, config) ⇒ Verifier::Base

Returns an instance of a verifier given a plugin type string.

Parameters:

  • plugin (String)

    a verifier plugin type, to be constantized

  • config (Hash)

    a configuration hash to initialize the verifier

Returns:

Raises:

  • (ClientError)

    if a verifier instance could not be created



35
36
37
# File 'lib/kitchen/verifier.rb', line 35

def self.for_plugin(plugin, config)
  Kitchen::Plugin.load(self, plugin, config)
end