Class: Busser::RunnerPlugin::Goss

Inherits:
Base
  • Object
show all
Defined in:
lib/busser/runner_plugin/goss.rb

Overview

A Busser runner plugin for Goss.

Author:

Instance Method Summary collapse

Instance Method Details

#testObject



42
43
44
45
46
47
# File 'lib/busser/runner_plugin/goss.rb', line 42

def test
  Dir.glob("#{suite_path("goss")}/*_{test,spec}.{goss,json}").each do |file|
    banner "[goss] #{File.basename(file)}"
    run!("goss -g #{file} validate")
  end
end