Module: Praegustator
- Defined in:
- lib/praegustator.rb,
lib/praegustator/cli.rb,
lib/praegustator/dsl.rb,
lib/praegustator/node.rb,
lib/praegustator/setup.rb,
lib/praegustator/version.rb,
lib/praegustator/executor.rb,
lib/praegustator/reporter.rb,
lib/praegustator/test_suite.rb,
lib/praegustator/wrappers/chef.rb,
lib/praegustator/wrappers/server_spec.rb
Defined Under Namespace
Modules: Wrappers
Classes: CLI, Dsl, Executor, Node, Reporter, Setup, TestSuite
Constant Summary
collapse
- VERSION =
"0.3.0"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
49
50
51
|
# File 'lib/praegustator.rb', line 49
def self.config
@config
end
|
38
39
40
41
42
43
44
45
46
47
|
# File 'lib/praegustator.rb', line 38
def self.configure_with(path_to_yaml_file)
begin
config = YAML::load(IO.read(path_to_yaml_file))
rescue Psych::SyntaxError
p "error while parsing yaml configuration file. using defaults."; return
rescue Errno::ENOENT
p "yaml configuration file couldn't be found. using defaults."; return
end
configure(config) if config
end
|
.reporter ⇒ Object
53
54
55
|
# File 'lib/praegustator.rb', line 53
def self.reporter
@reporter
end
|