toolproof 0.20.0

Standalone test suite for CLI tools and applications
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 'Total passing tests: 1'"
  - step: "stdout should contain 'Failing tests: 0'"
  - step: "stdout should contain 'Skipped 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 'Total passing tests: 0'"
  - step: "stdout should contain 'Failing tests: 1'"
  - step: "stdout should contain 'Skipped tests: 0'"
  - step: "stdout should contain 'Some tests failed'"
  - stderr should be empty