How to specify concrente Localization Culture for tests project in C# in VS2008? I\'m building Asp .Net MVC app that has nonstandard culture specified in web.config but how to s
If you're using xUnit, you can add the UseCultureAttribute to your project, as defined here:
UseCultureAttribute
https://github.com/xunit/samples.xunit/blob/master/UseCulture/UseCultureAttribute.cs
To use it:
[Fact] [UseCulture("en-US")] public void MyTest() { // ... }