csoltenborn / GoogleTestAdapter

Visual studio extension that adds support for the C++ testing framework Google Test.
Other
143 stars 100 forks source link

Namespaces not detected in VS2019 #342

Open alex-nl opened 2 years ago

alex-nl commented 2 years ago

(Using VS 2019 Version 16.5.2 and Google Test Adapter Version 0.18.0.1432)

No matter if I'm using TEST, TEST_F, or TYPED_TEST, every test is showing up in the Test Explorer as being in the .

This is being tracked in the Visual Studio Developer Community here, but there's no sign of any progress on their end, and I'm wondering if this can be solved in the extension code.

Do we have any idea what's causing this, or what the relevant code would be?

edenroz commented 1 year ago

I have the same problem: all typed tests are showing up as and are not executing inside VS2022.

When I execute the tests using the .exe from the console everything works fine.