result
stores information from the last command executed by a "run" action. Offers many functions) that transforms output data, and also exitcode is captured.
target "Exist user root (exit code ok)"
run "id root"
expect_exit 0
target "No user vader (exit code fail)"
run "id vader"
expect_exit 1
target "Using a range"
run "id vader"
expect_exit 1..3
target "Using a list"
run "id vader"
expect_exit [1, 3, 7]