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

Notification

Icon
Error

No message when test taking parameters is attempted to run without parameters
MattK
#1 Posted : Friday, September 19, 2014 10:36:06 AM(UTC)
Rank: Member

Groups: Registered
Joined: 10/8/2013(UTC)
Posts: 11
Location: United Kingdom

Thanks: 2 times
Was thanked: 2 time(s) in 2 post(s)
Not necessarily a bug as such. I was looking at some Nunit tests and one of them was supposed to take a parameter, but there was no parameter supplied.
It was the only test in the test class and NCrunch ignored it rather than giving an error message, and so nobody ever saw that the test wasn't running!
Remco
#2 Posted : Friday, September 19, 2014 12:35:25 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Sadly, there may not be much that can be done on this from the side of NCrunch.

NCrunch relies on data being supplied from the test frameworks themselves. Where tests are erroneous, they are often ignored, or the errors are raised in ways that can't easily be reported by NCrunch (as the tests themselves cannot exist in their form). I'm sorry this cost you time.
MattK
#3 Posted : Friday, September 19, 2014 12:45:34 PM(UTC)
Rank: Member

Groups: Registered
Joined: 10/8/2013(UTC)
Posts: 11
Location: United Kingdom

Thanks: 2 times
Was thanked: 2 time(s) in 2 post(s)
Fair enough. Thanks for the explanation. Not to worry about the few minutes of waste, i'm sure NCrunch has saved me far more time over the last 18 months!
1 user thanked MattK for this useful post.
Remco on 9/19/2014(UTC)
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.025 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download