Build/Test Issues

What does "analysis failure" mean?

Started by abelb on 5,609 views

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?
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.

Post a reply

Log in to reply.