Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests from anonymous namespaces cannot be executed #355

Open
twollgam opened this issue Jul 20, 2023 · 0 comments
Open

Tests from anonymous namespaces cannot be executed #355

twollgam opened this issue Jul 20, 2023 · 0 comments

Comments

@twollgam
Copy link

Test Adapter for Google Test: 0.17.0.23
Visual Studio: 17.6.1

If one select tests from an anonymous namespace they cannot be executed. The reason is that the command line option --gtest_filter does not contain a matching pattern, for example:

-gtest_filter=`anonymous namespace'.AUnitTest.test_something
  1. I think that the goolge test framework does not support this kind of namespace matching
  2. The command line is invalid cause the used quotes does not encapsulate the included space. So the parameter is broken in two pieces/arguments.
@twollgam twollgam changed the title Tests anonymous namespaces cannot be executed Tests from anonymous namespaces cannot be executed Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant