This is an MQ idea
Currently in MVC we have tests that rely on BCL error messages, which breaks the experience for users in cultures. Since the non-English strings are returned from the BCL components, we break on non-English windows.
We've fixed these issues piecemeal, but would like to find a good unified solution to avoid introducing them.
Options:
- Fewer tests for error messages (use Resource + string.format instead of literal strings
- non-English CI machine
- replace xunit helpers for AssertThrows to force en-US
Currently in MVC we have tests that rely on BCL error messages, which breaks the experience for users in cultures. Since the non-English strings are returned from the BCL components, we break on non-English windows.
We've fixed these issues piecemeal, but would like to find a good unified solution to avoid introducing them.
Options:
- Fewer tests for error messages (use Resource + string.format instead of literal strings
- non-English CI machine
- replace xunit helpers for AssertThrows to force en-US