toolproof 0.20.0

Standalone test suite for CLI tools and applications
name: The contents of stdout contain text

steps:
  - step: I have a "my_test.toolproof.yml" file with the content {yaml}
    yaml: |-
      name: Inner test

      steps:
        - I run 'echo "toolproof 🙂"'
        - stdout should contain "🙂"
  - 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 run 'echo "toolproof 🙁"'
        - stdout should contain "🙂"
  - 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