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

Notification

Icon
Error

Feedback about failing test in case the mouse hovers the > character
Ralf Koban
#1 Posted : Wednesday, April 6, 2016 8:37:16 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/19/2014(UTC)
Posts: 44
Location: Germany

Thanks: 4 times
Was thanked: 10 time(s) in 9 post(s)
Hi Remco,

If the mouse hovers the > character beside the test, and the test fails, it would be nice to get the failing message for the test.

This is probably a special situation as normally, if a test fails, and the mouse hovers the X, NCrunch shows the failing message as tooltip.
However, if the test is written as expression body, then there is no red X but only a red >.

In this case, if I left-click the >, I get the "Tests starting line ..." user control control which lists the failing test with a X.

It would be nice if e.g. I'll get a tooltip containing the exception message (if there is any) when I'll hover that X inside that user control.


Best regards,
Ralf
Remco
#2 Posted : Wednesday, April 6, 2016 11:02:56 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 957 times
Was thanked: 1287 time(s) in 1194 post(s)
Hi Ralf,

This is actually defective behaviour, and I plan to address it soon.

The test entry point shouldn't be overriding the tooltip behaviour for exception messages (which are more important).

When implemented correctly, the test entry point should never mask an inline exception.
Remco
#3 Posted : Friday, April 22, 2016 3:26:00 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 957 times
Was thanked: 1287 time(s) in 1194 post(s)
A fix for this issue is now available in v2.21, released today - http://www.ncrunch.net/download
Users browsing this topic
Guest
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.028 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download