name: The contents of a file contain text steps: - step: I have a "my_test.toolproof.yml" file with the content {yaml} yaml: |- name: Inner test steps: - I have a "testing_file" file with the content "Hello World!" - The file "testing_file" should contain "ello" - I run "%toolproof_path%" - step: "stdout should contain 'Passing tests: 1'" - step: "stdout should contain 'Failing tests: 0'" - step: "stdout should contain 'All tests passed'" - stderr should be empty - step: I have a "my_test.toolproof.yml" file with the content {yaml} yaml: |- name: Inner test steps: - I have a "testing_file" file with the content "Hullo World!" - The file "testing_file" should contain "ello" - I run "%toolproof_path%" and expect it to fail - step: "stdout should contain 'Passing tests: 0'" - step: "stdout should contain 'Failing tests: 1'" - step: "stdout should contain 'Some tests failed'" - stderr should be empty