Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-23736

Support gtest skipped tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.12.0-beta1
    • Fix Version/s: Qt Creator 4.12.0-rc1
    • Component/s: Test Integration
    • Labels:
      None
    • Commits:
      540ea616ecabede679fca9e10dd27dec33f29936 (qt-creator/qt-creator/4.12)

      Description

      With recent versions of gtest it is possible to skip tests at run time. This is useful if for instance a test precondition fails. (Hence the test results are meaningless, if your preconditions are not satisfied).

       

      You can skip a test at run-time by calling GTEST_SKIP(). But right now, QtCreator does not show the test as skipped (like it does for disabled tests). It would be nice to see that a test was skipped.

        Attachments

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

          Activity

            People

            Assignee:
            cstenger Christian Stenger
            Reporter:
            mvoorsluys Mario Voorsluys
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes