Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages<12
Unicode issues
springjazzy
#21 Posted : Wednesday, February 26, 2014 9:57:17 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/6/2012(UTC)
Posts: 46

Yes issue with unicode is resolved. But error navigation ability is absent.

No error navigation

Or maybe I don't know how to use new version of NCrunch? You moved it somewhere?
BohumilJanda
#22 Posted : Wednesday, February 26, 2014 10:56:58 AM(UTC)
Rank: Member

Groups: Registered
Joined: 5/16/2012(UTC)
Posts: 13
Location: Litoměřice

Thanks: 5 times
Was thanked: 1 time(s) in 1 post(s)
Partially confirmed here too, build errors have links, test fails do not.
Remco
#23 Posted : Wednesday, February 26, 2014 11:17:19 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Can you guys confirm if the error navigation works when the test's current UI culture is set to English? I'm wondering if the localisation is messing with the exception parsing. The file links in the exception traces should be hyperlinks - there has been no change to the design (although much of the implementation has been reworked).
springjazzy
#24 Posted : Wednesday, February 26, 2014 11:20:42 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/6/2012(UTC)
Posts: 46

Confirm. After setting "en-US" CultureInfo links appeared again
Remco
#25 Posted : Wednesday, February 26, 2014 11:22:51 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Excellent - thanks for confirming that so quickly. I'll see if I can reproduce+fix - will let you know how it goes :)
springjazzy
#26 Posted : Wednesday, February 26, 2014 11:39:00 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/6/2012(UTC)
Posts: 46

BTW. If I change Current UI culture in Ncrunch ver. 1.* everything works fine too! So maybe you could fix it there too since it obviously doesn't depend on richTextBox
Remco
#27 Posted : Wednesday, February 26, 2014 12:04:30 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
The reason it will work with UI culture change in V1 is because the localised characters inside the exception strings have a tendency to cause the richedit view corruption. As soon as the UI culture is set to english, the characters are gone and the problem is gone with them.

NCrunch should be able to support rendering of non-english stack traces. Although I suppose it's possible to force tests to run with a UI culture of en-US, I'm sure this would cause problems for people and there's no guarantee that they couldn't change the culture while the test is running .. so a reliable workaround using this approach doesn't seem to be possible.

Out of interest, does NCrunch V1 try to render links inside the exception stack traces for you when you don't have the en-US culture set? (i.e. when the view is corrupt?).
springjazzy
#28 Posted : Wednesday, February 26, 2014 12:24:30 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/6/2012(UTC)
Posts: 46

It shows link as navigatable, but navigation doesn't do anything.
Remco
#29 Posted : Thursday, February 27, 2014 4:21:22 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
springjazzy
#30 Posted : Thursday, February 27, 2014 6:06:30 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/6/2012(UTC)
Posts: 46

Yes. Everything looks fine.
Remco
#31 Posted : Thursday, February 27, 2014 7:02:15 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Excellent. Thanks! :)
Users browsing this topic
Guest (2)
2 Pages<12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.055 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download