inspec/test/unit/mock/profiles/exception-in-control
Clinton Wolfe 1a00853cd8
Catch exceptions in control blocks and fail the control (#2987)
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-04-26 15:44:16 -04:00
..
controls Catch exceptions in control blocks and fail the control (#2987) 2018-04-26 15:44:16 -04:00
inspec.yml Catch exceptions in control blocks and fail the control (#2987) 2018-04-26 15:44:16 -04:00
README.md Catch exceptions in control blocks and fail the control (#2987) 2018-04-26 15:44:16 -04:00

Regression test for issue 2981

Are exceptions in control blocks, outside of describe blocks, properly handled?

Properly means the run does not abort, no stacktrace, and the control fails. Unspecified if subsequent describe blocks within the control are expected to run.