[Mono-dev] Let's not compare exception messages in nunit tests
"Andrés G. Aragoneses"
knocte at gmail.com
Fri Jun 13 09:00:50 EDT 2008
Atsushi Eno wrote:
> Hey guys,
>
> I have seen a lot of bad NUnit tests that unnecessarily compare
> exception messages. They are wrong not only because they fail
> in non-English Windows environment but also because those tests
> will fail when Microsoft improves the messages. Furthermore, it
> blocks possible message translation in the future.
> They have been blocking me from checking NUnit test sanity. And
> thanks to that, now we actually have a lot of wrong compatibility
> assumptions in our own tests. (I don't say incompatibility is bad
> but they do not have to be asserted unnecessarily.)
>
> Let me repeat: let's not compare any localizable strings.
Atsushi: do you know if there's a way of switching to the standard
language as a fallback (en-US I presume) in order to fix these kind of
tests in non-English Win environments?
Regards,
Andrés
--
More information about the Mono-devel-list
mailing list