inspec/test/unit
Adam Leff dfce561276 Provide better error message when inspec.yml is invalid
Currently, if the inspec.yml for a profile is invalid (such as including
an improperly-defined multi-line string), InSpec will throw an exception
from the YAML parser that does not given a clear indication that the
issue was encountered while parsing the inspec.yml file.

This change introduces a better exception message to clue the user into
where the problem actually lies.

Signed-off-by: Adam Leff <adam@leff.co>
2017-03-09 18:03:01 +01:00
..
bundles/inspect-habitat Adding a Habitat profile artifact creator 2017-02-23 18:25:22 -05:00
dependencies Bump lockfile version to 1.0 2016-09-26 09:51:04 +01:00
dsl Provide a way to force it vs its for any argument 2017-02-03 19:26:02 +00:00
fetchers Change :shasum key to :sha256 for future upgrade 2016-09-21 10:51:04 +01:00
mock Provide better error message when inspec.yml is invalid 2017-03-09 18:03:01 +01:00
plugins Remove some warnings during the test run 2016-09-09 14:14:36 +01:00
profiles Generate default profile names, fix bug when using two-or-more flat profiles 2017-02-13 13:07:41 -05:00
resources Fixing port check with v4 IPs in a v6 netstat line 2017-03-06 22:03:41 -07:00
source_readers Provide better error message when inspec.yml is invalid 2017-03-09 18:03:01 +01:00
utils Add FreeBSD support for ZFS datasets and pools 2017-02-22 10:29:49 -07:00
file_provider_test.rb Add GitFetcher and rework Fetchers+SourceReaders 2016-09-09 14:14:36 +01:00
shell_detector_test.rb Add inspec env command to configure shell tab-completion 2016-08-10 02:07:53 +01:00