[x] It is not related to remote-vscode or I checked the following issue
[x] 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:
Fixed in v4.12.1.
This issue was mentioned in [CHANGELOG.md](./CHANGELOG.md) under a released entry so it is assumed to be fixed.
User verifications are always welcome.
Checklist
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)
```js