You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `[Culture]` attribute is used to set the [current Culture](https://learn.microsoft.com/en-us/dotnet/api/system.globalization.cultureinfo.currentculture) for the duration of a test. It may be specified at the level of a test, fixture or assembly.
4
+
The culture remains set until the test or fixture completes and is then reset to its original value.
5
+
6
+
Specifying the culture is useful for comparing against expected output
7
+
that depends on the culture, e.g. decimal separators, etc.
8
+
9
+
Only one culture may be specified. If you wish to run the same test under multiple cultures,
10
+
you can achieve the same result by factoring out your test code into a private method
0 commit comments