Expectation::toExist
Member of Expectation
idl
Expectation.toExist, $
/_expect_failureVerifies that the expectation value (a path, or array of paths) exists, whether it is a file or a directory.
Examples
idl
(it.expects(!dir)).toExist
(it.expects(file_which('plot.pro'))).toExist
(it.expects('missing_file.dat'))._not_.toExistKeywords
_expect_failure {#kw-_expect_failure}
optionalinputtype=BooleanIf the test fails for some reason, set this to force passing because we expected failure. This keyword is for internal use only.