Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Edited Unassigned: MQ: Find a technique for testing strings that isn't language sensitive [1462]

$
0
0
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

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>