Ticket #16528: testing-output-docs-16528.diff

File testing-output-docs-16528.diff, 683 bytes (added by teraom, 13 years ago)
  • docs/topics/testing.txt

     
    555555but it's pretty intuitive. You can consult the documentation of Python's
    556556``unittest`` library for details.
    557557
    558 Note that the return code for the test-runner script is the total number of
     558Note that the return code for the test-runner script is 1 for any number of
    559559failed and erroneous tests. If all the tests pass, the return code is 0. This
    560560feature is useful if you're using the test-runner script in a shell script and
    561561need to test for success or failure at that level.
Back to Top