Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-3328

JS test runner does not report failures correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Test Suite
    • None

    Description

      Currently test/javascript/run always returns an exit code of 0, regardless of whether any tests fail or not. This makes any sort of automated testing that expects to inspect the results of the run invalid.

      This ticket will update the runner so that it will:

      • Return a 1 when any test fails, and
      • Print a count summary at the end of the run of how many tests succeeded, failed, or were ignored/skipped.

      Attachments

        Issue Links

          Activity

            People

              wohali Joan Touzet
              wohali Joan Touzet
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: