We don't always want to check the full output; sometimes checking that it contains a given substring is more useful. We can use the contains: operator to specify this:
Note that we don't use | here, as we don't want to capture the trailing newline, which would make this test fail. Instead we use quotes around the value to ensure that the YAML parser treats it as a string, not a number.
You can also use equals: to explicitly specify that we're checking equality, though this is the default.
This applies to STDOUT, STDERR, and files.
From the update to the README:
Closes #36.