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

Notification

Icon
Error

What does "analysis failure" mean?
abelb
#1 Posted : Friday, November 13, 2015 6:01:23 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 9/12/2014(UTC)
Posts: 155
Location: Netherlands

Thanks: 19 times
Was thanked: 11 time(s) in 11 post(s)
On a test set that previously run without issues, I now receive "Analysis failure" under the status column in the NCrunch Test window. The log window seems to show nothing. The pending tests keep showing as pending (x high priority tests are queued for execution) without anything happening.

What does this error mean and more importantly, how do I analyze or debug this error?
abelb
#2 Posted : Friday, November 13, 2015 6:36:54 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 9/12/2014(UTC)
Posts: 155
Location: Netherlands

Thanks: 19 times
Was thanked: 11 time(s) in 11 post(s)
My bad, the output window was obscured by the CodeMap window, which just happens to look exactly the same when there's nothing on the canvas.

After seeing the error, it turned out that it couldn't load NUnit 2.6.4. I replicated the same error with NUnit's own runner. The bindingRedirects etc seem to properly point to the right version (all redirect to 2.6.4). When I looked up the specific nunit dll in the directory that NCrunch and NUnit were pointing to, it had version 2.6.4 (checked with Reflector).

I then decided to simply remove the reference in the project and add it again using NuGet.

For one reason or another, this appeared to resolve the issue.

When I looked at the changes in my DVCS I saw that the old reference incorrectly pointed to a local copy, instead of to a fresh copy in the NuGet package directory. Still strange that both had 2.6.4 as a version number, but glad this resolved it.
1 user thanked abelb for this useful post.
Remco on 11/13/2015(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.019 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download