Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-21567

qtestlib selftests should test negative cases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.0.0
    • Testing: qtestlib
    • None

      The current qtestlib selftests mostly test positive cases, i.e. those in which testlib is expected to function successfully. The tests should be extended to also cover negative cases, such as tests being passed invalid or conflicting command line options.

      Such tests should be added as one or more new test functions in tests/auto/testlib/selftests – the existing test function there is geared towards testing the logging behaviour, and the negative tests will generally not get as far as attempting to produce test logs, but rather will produce error messages on the console before aborting.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            macadder Jason McDonald
            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes