Run unit tests in specific culture

cliff.bowman's Avatar

cliff.bowman

13 Jul, 2015 11:29 PM

It appears that the default culture that unit tests execute in is not en-US. Is there some way to set the culture for an entire run? I know there are ways to set it explicitly on a test or test fixture basis, but I would rather not have to update hundreds of tests just to run on AppVeyor.

  1. Support Staff 1 Posted by Feodor Fitsner on 13 Jul, 2015 11:34 PM

    Feodor Fitsner's Avatar

    What is default culture then? What test runner do you use?

  2. 2 Posted by cliff.bowman on 13 Jul, 2015 11:55 PM

    cliff.bowman's Avatar

    Thanks for the response.

    This appears to be a Windows and not a AppVeyor issue. Not sure what the default culture is, but it appears to be an issue with certain versions of Windows. Apparently they changed the currency decimal character from a period to a comma in Win 8.1 for de-CH (Swiss German). I found a connect issue where they stated it would be addressed (but hasn't yet).

    I can work around it for the time being.

  3. 3 Posted by cliff.bowman on 13 Jul, 2015 11:56 PM

    cliff.bowman's Avatar
  4. Support Staff 4 Posted by Feodor Fitsner on 14 Jul, 2015 12:28 AM

    Feodor Fitsner's Avatar

    Interesting. Thanks for the update!

  5. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:57 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac