Hi, NCrunch is great, but... I have troubles with error messages in russian system.
It looks like [dead link]
SetUp : System.ArgumentNullException : Значение не может быть неопределенным.
Имя параметра: loggerFactory
в Sunflower.Ant.Model.Loader.ModelLoader..ctor(ModelLoaderSettings settings, ILoggerFactory loggerFactory) â C:\src\sun-flower\Ant\Src\Sunflower.Ant.Common\Model\Loader\ModelLoader.cs:ñòðîêà 32#0
в XmlPersistence.DataDescriptorCacheTests.TestInitialize() â C:\src\sun-flower\Ant\Src\Tests\UnitTests\XmlPersistence\DataDescriptorCacheTests.cs:ñòðîêà 27#1
russian text in stack trace is in wrong encoding
AND "SetUp : System.ArgumentNullException" string has another encoding (differ from callstack I guess, and seems to be utf-8) which displays wrong too.
My system: Windows7 Professional Russian 6.1.7601 Service Pack 1
Microsoft Visual Studio 2010 10.0.30319.1 Russian
Microsoft .NET Framework 4.0.30319 + Russian Lang pack
Thanks for reporting this problem. The issue itself appears to be some kind of rendering problem inside the Richedit control used by NCrunch to display the test output. Although the data being stored in the control is correct, certain characters can cause it to show in a corrupted form.
As the problem is deeply lodged inside the control itself, I can as-yet find no feasible way to solve it without replacing the control entirely (which is a significant piece of work).
I'll continue to investigate, although I think a fix for this is quite a way out. You may be able to work around the problem using the following methods:
- Analyse stack traces using NCrunch's inline exception data
- Examine error details from failed tests using the processing queue (clumsy, but the text output here should not be impacted by this issue)
- Copy/paste the corrupted output from the tests window into another text editor (i.e. notepad), where the rendering issue won't exist and the text should be legible
Sorry that I can't provide a better fix at the moment.
I believe the problem is related to the characters being displayed. Certain localised characters (such as those used in a stack trace) cause the control to start behaving erratically. Interestingly, I haven't been able to reproduce the problem on Windows 8 - so I'm wondering if it might be platform specific. Which operating system are you running on?