You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not related to remote-vscode or I checked the following issue
Imagine yourself into my position and think how hard to debug the issue without insufficient information.
I understand that you have privacy concerns and I expect you to understand that this extension is developed for free.
Thanks.
When I run the tests via the extension and look at the TestResults output it only prints the message from SetUp() and not the message from TearDown(), e.g.:
$1│ Started PID#1234 - '/home/user/out/build/unixlike-gcc-debug/test/tests'$1│
$1│ GlobalEnvironment set up
$1│ [ RUN ] MyTest.Test @ ./test/main.cpp:4
$1│ [ OK ] MyTest.Test (0 ms)
$1│
$1│ Stopped PID#1234 - Exit(0) / OK - '/home/user/out/build/unixlike-gcc-debug/test/tests'
When I run it from the command line it prints also the TearDown() message:
$ out/build/unixlike-gcc-debug/test/tests --gtest_color=no
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
GlobalEnvironment set up
[----------] 1 test from MyTest
[ RUN ] MyTest.Test
[ OK ] MyTest.Test (0 ms)
[----------] 1 test from MyTest (0 ms total)
[----------] Global test environment tear-down
GlobalEnvironment tear down
[==========] 1 test from 1 test suite ran. (0 ms total)
[ PASSED ] 1 test.
To Reproduce
Compile given main.cpp with gtest.
Screenshots (optional)
Desktop
Extension Version: v4.12.0
VS Code Version: 1.92.2
Catch2 / Google Test / DOCTest Version: Google Test 1.15.0
OS Type and Version: Linux, RHEL 9
Using remote-ssh/docker/wsl?: remote-ssh
Regression bug?
Not that I am aware of.
Last extension version in which the feature were working:
**Log** (optional but recommended)
<pastelogshere>
The text was updated successfully, but these errors were encountered:
Checklist
I understand that you have privacy concerns and I expect you to understand that this extension is developed for free.
Thanks.
Describe the bug
I am using
gtest
with global setup and tear down as described here https://google.github.io/googletest/advanced.html#global-set-up-and-tear-down. Mymain.cpp
looks likeWhen I run the tests via the extension and look at the TestResults output it only prints the message from
SetUp()
and not the message fromTearDown()
, e.g.:When I run it from the command line it prints also the
TearDown()
message:To Reproduce
Compile given
main.cpp
withgtest
.Screenshots (optional)
Desktop
Regression bug?
Not that I am aware of.
**Log** (optional but recommended)
The text was updated successfully, but these errors were encountered: