inspec/test/unit/mock/profiles
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
..
complete-metadata Allow functional tests to pass on OSX 2016-08-26 15:25:59 +02:00
complete-profile add inspec source reader 2016-02-22 11:24:35 +01:00
dependencies Fix require_controls DSL method 2016-09-26 15:20:56 +02:00
empty-metadata add profile tests (non-legacy) 2016-01-20 21:57:23 +01:00
failures dot inspect actual value to match the expected string one 2016-10-13 07:13:51 -07:00
legacy-complete-metadata clearly identify legacy profile tests and fix identification 2016-01-19 15:48:06 +01:00
legacy-empty-metadata clearly identify legacy profile tests and fix identification 2016-01-19 15:48:06 +01:00
legacy-simple-metadata add profile tests (non-legacy) 2016-01-20 21:57:23 +01:00
library Allow functional tests to pass on OSX 2016-08-26 15:25:59 +02:00
profile-support-skip Skip controls from profile's that don't support the current platform 2016-09-14 09:57:53 +01:00
profile-with-bad-metadata Provide better error message when inspec.yml is invalid 2017-03-09 18:03:01 +01:00
simple-inheritance fix inherited profile cli report 2016-09-04 18:28:01 +02:00
simple-metadata add profile tests (non-legacy) 2016-01-20 21:57:23 +01:00
skippy-controls Show skip_message and correct title 2016-09-23 07:47:21 +01:00
skippy-profile-os Use only strings in resource examples, docs and tests 2016-05-03 23:27:18 +01:00
spec_only introduce cli report formatter 2016-06-15 17:11:29 +02:00
supermarket-dep Provide inspec.yml shortcut syntax 2016-09-14 08:46:06 +02:00
supported_inspec skip profiles if the platform isnt supported 2016-04-16 15:34:23 -04:00
unsupported_inspec skip profiles if the platform isnt supported 2016-04-16 15:34:23 -04:00
windows-only Skip controls from profile's that don't support the current platform 2016-09-14 09:57:53 +01:00