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

[Reg 3.5->3.6] Unit tests do not output a thing in Application output pane

    XMLWordPrintable

Details

    • a286c8da44e1ad2afdae83dc2fc880598272de57

    Description

      The user wants to get a verbose output into Application output pane on, how her unit tests are run. In Qt Creator 3.5.1 everything works just fine:

      Starting test run...
      ********* Start testing of TestQString *********
      Config: Using QtTest library 5.5.1, Qt 5.5.1 (x86_64-little_endian-llp64 shared (dynamic) debug build; by MSVC 2013)
      PASS   : TestQString::initTestCase()
      PASS   : TestQString::toUpper()
      PASS   : TestQString::toSomething()
      PASS   : TestQString::testSomething1()
      PASS   : TestQString::testSomething2()
      PASS   : TestQString::testSomething3()
      PASS   : TestQString::testSomething4()
      PASS   : TestQString::cleanupTestCase()
      

      The problem seems to exist only with Qt Creator 3.6.0:

      Starting test run...
      

      As the one can see, there second output is quite compendious.

      The expected behavior with Qt Creator 3.6.0:
      The Application output pane must contain the same output as it is in Qt Creator 3.5.1 on, how tests are run.

      What actually happens:
      Very short output can be seen in Application output pane.

      Steps to reproduce:

      1. Make sure, you are using Windows machine and it does have both Qt Creators installed (3.5.1 and 3.6.0). The Kit used in original testing was MSVC2013. Install it if you do not have one.
      2. Download and unpack the application attached
      3. First, run it with Qt Creator 3.5.1. Everything works normal, the output on how the tests are run is in the Application output pane
      4. Run the same application with the same Kit with Qt Creator 3.6.0. Only very brief output can be seen in the Application output pane.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-15546
          # Subject Branch Project Status CR V

          Activity

            People

              hunger Tobias Hunger
              dmnikola Dmitry Nikolaev
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes