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
Comments: Fixed in changeset fb44d05716267d50b47e1edd1d2a0d59243c0e74
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
Comments: Fixed in changeset fb44d05716267d50b47e1edd1d2a0d59243c0e74