git @ Cat's Eye Technologies Falderal / doctests-to-unit-tests tests / test-err-no-stderr.markdown
doctests-to-unit-tests

Tree @doctests-to-unit-tests (Download .tar.gz)

test-err-no-stderr.markdown @doctests-to-unit-testsview markup · raw · history · blame

Falderal Test: err-no-stderr

When running a failing test, if the implementation finished with a failing exit code, but did not provide anything on stderr, expect the error message to be on stdout.

-> Functionality "Error on stdout" is implemented by shell command
-> "python fail.py '%(test-body-text)' '' 1"

-> Tests for functionality "Error on stdout"

| this is the error message
? this is the error message