Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
Qt Creator 16.0.0
-
None
-
Repro in QCreator 16.0.0 in both Windows and Linux
-
-
d12b552f4 (17.0)
Description
Minimal repro project available in GitHub: LuisMSuarez/QT-bug-report
If a test case (GTest, for example) invokes code (in the test case itself or in the production code being tested) that prints text to std::cout, where the text doesn't end in newline, then the test will be executed, but the test result will not appear in the QCreator UI under "Test Results". This makes it impossible to know if the test case passed or failed.
Refer to the attached screenshot.
The project contains 3 tests, but the "Test Results" output only displays 2 tests.
A workaround may not always be possible.
For example, if the code being tested comes from an external lib outside of the control of the programmer.
The programmer may be puzzled as to why the test case did not execute and spend a lot of time trying to troubleshoot.
Attachments
Issue Links
- mentioned in
-
Page Loading...