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

Google test adapter does not work when the UI of Visual Studio is non english #121

Open
JolyLoic opened this Issue Feb 24, 2018 · 8 comments

Comments

Projects
None yet
5 participants
@JolyLoic

JolyLoic commented Feb 24, 2018

  • Installing visual studio in French version, with google test adapter, it does not work:
    • The Google test project is not proposed when creating a new project
    • Going into Tools/Options/, we can see "Adaptateur de test pour google test" (Test adapter for google tests), but when we select this option, we have an error message, mentioning a
      ActivityLog.xml file (I attached this file).
    • Opening an existing project with google tests, the test explorer shows the same message
  • Switching the UI language to English (tools/options/environment/international settings), the first time, I had to uninstall/reinstall this feature to make it work
  • Now, every time I switch to French, it fails, but when I switch back to English, it works again.

I've seen people reporting the same issue with the Japanese version, so I guess the issue is probably for any non English language.

@csoltenborn

This comment has been minimized.

Show comment
Hide comment
@csoltenborn

csoltenborn Feb 24, 2018

Until Microsoft has fixed this issue, an intermediate solution could be to switch to TAfGT's "father" Google Test Adapter, which is not (yet) localized and does not have any (known) issues with different VS locales.

csoltenborn commented Feb 24, 2018

Until Microsoft has fixed this issue, an intermediate solution could be to switch to TAfGT's "father" Google Test Adapter, which is not (yet) localized and does not have any (known) issues with different VS locales.

@JolyLoic

This comment has been minimized.

Show comment
Hide comment
@JolyLoic

JolyLoic Feb 26, 2018

As far as I know, the father project does not provide projects for unit tests. Since I plan to use this extension in a teaching environment, I think this feature is useful not to overwhelm the students with too many details too soon, so I plan to use the other workaround and to ask them to install VS in English.

JolyLoic commented Feb 26, 2018

As far as I know, the father project does not provide projects for unit tests. Since I plan to use this extension in a teaching environment, I think this feature is useful not to overwhelm the students with too many details too soon, so I plan to use the other workaround and to ask them to install VS in English.

@spebl spebl self-assigned this Feb 27, 2018

@spebl

This comment has been minimized.

Show comment
Hide comment
@spebl

spebl Feb 27, 2018

Thank you for bringing this to our attention. We had an issue in the past with the templates not showing up in the correctly localized subfolder due to a limitation with the way we packaged them, but some of that flow has changed recently. I'll take a look here to see what we can do to make this work again.

spebl commented Feb 27, 2018

Thank you for bringing this to our attention. We had an issue in the past with the templates not showing up in the correctly localized subfolder due to a limitation with the way we packaged them, but some of that flow has changed recently. I'll take a look here to see what we can do to make this work again.

@spebl spebl added the bug label Feb 27, 2018

@sweetsolution

This comment has been minimized.

Show comment
Hide comment
@sweetsolution

sweetsolution Jun 19, 2018

Hello Spencer Bloom and JolyLoic,

today I had the same problem as JolyLoic. I can confirm that the problem is the language setting of VisualStudio. If I change the language setting from "german" to "english", everthing works fine.
Visual Studio Version: Version 15.7.1
Test Adapter for Google Test: Version 1.0
A big thank you to Spencer Bloom and JolyLoic - without this post I would have searched for a long time for a solution. Changing the language to english is a good solution.

sweetsolution commented Jun 19, 2018

Hello Spencer Bloom and JolyLoic,

today I had the same problem as JolyLoic. I can confirm that the problem is the language setting of VisualStudio. If I change the language setting from "german" to "english", everthing works fine.
Visual Studio Version: Version 15.7.1
Test Adapter for Google Test: Version 1.0
A big thank you to Spencer Bloom and JolyLoic - without this post I would have searched for a long time for a solution. Changing the language to english is a good solution.

@sweetsolution

This comment has been minimized.

Show comment
Hide comment
@sweetsolution

sweetsolution Jul 8, 2018

Great! Thank you very much.

Greetings
Matthias

sweetsolution commented Jul 8, 2018

Great! Thank you very much.

Greetings
Matthias

@berryzplus

This comment has been minimized.

Show comment
Hide comment
@berryzplus

berryzplus Jul 17, 2018

Could you tell me how to install this commit?
I'm still launch vs2017 in English to run google test codes.

berryzplus commented Jul 17, 2018

Could you tell me how to install this commit?
I'm still launch vs2017 in English to run google test codes.

@spebl

This comment has been minimized.

Show comment
Hide comment
@spebl

spebl Jul 25, 2018

To install this you either have to check out the source here and build it for yourself (uninstalling the adapter that comes with the installer) or wait for our next 15.8 preview release which will include this fix. I'll keep this open to track this until the fix is distributed broadly through the installer in the next update.

spebl commented Jul 25, 2018

To install this you either have to check out the source here and build it for yourself (uninstalling the adapter that comes with the installer) or wait for our next 15.8 preview release which will include this fix. I'll keep this open to track this until the fix is distributed broadly through the installer in the next update.

@berryzplus

This comment has been minimized.

Show comment
Hide comment
@berryzplus

berryzplus Jul 25, 2018

Apply latest update of visual studio 2017.

Testadapterforgoogletest has updated at 6/25

berryzplus commented Jul 25, 2018

Apply latest update of visual studio 2017.

Testadapterforgoogletest has updated at 6/25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment