Use of the AnyOf script block keywords doesn't fail fast. All instructions are executed which can lead to unexpected executions when they do not OR.
Also, script block keywords are duplicated with $Assert methods, which provide more flexibility and closer alignment with YAML/ JSON syntax.
Use of the
AnyOfscript block keywords doesn't fail fast. All instructions are executed which can lead to unexpected executions when they do not OR.Also, script block keywords are duplicated with
$Assertmethods, which provide more flexibility and closer alignment with YAML/ JSON syntax.