GoogleTestAdapter icon indicating copy to clipboard operation
GoogleTestAdapter copied to clipboard

Namespaces not detected in VS2019

Open alex-nl opened this issue 3 years ago • 2 comments

(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 <Empty Namespace>.

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?

alex-nl avatar Jun 02 '22 00:06 alex-nl

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

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

edenroz avatar Oct 24 '22 15:10 edenroz