Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
VS11 ShimNotSupportedException when using Shimming from Microsoft Fakes
Still working on this one :)
02 Oct 2012 21:18 UTC
-
IDL files don't copy
Hi Corey - This is a file type that NCrunch isn't familiar with, so by default it won't include it in the workspace. You can work around this by adding the file to the 'Additional files to include' project-level NCrunch configuration setting. I'll add the file type to the autoconfiguration li…
02 Oct 2012 21:17 UTC
-
Login to database failed
Hi Corey, Thanks for posting! NCrunch will spawn test processes under the same user account you use to run Visual Studio, so in theory you should be able to give this user access to the database and the security should work without problems. NCrunch's test runner itself doesn't know anything …
02 Oct 2012 21:15 UTC
-
My tests can't find an additionally included file
Great to hear - I'm glad that solved the problem. There are no static references from the NCrunch code into NCrunch.Framework.dll. This means it's possible for you to copy any of the attribute types inside NCrunch.Framework into your own test project and NCrunch will still consider them as thoug…
02 Oct 2012 08:35 UTC
-
My tests can't find an additionally included file
Hi Sam - NCrunch emulates the deployment behaviour of MSTest, which basically involves setting up a separate sandbox for each test while that test is executed. This can be a source of confusion, as NCrunch also builds its own workspace (so we're basically talking about a sandbox within a workspa…
01 Oct 2012 21:18 UTC
-
Offline Documentation
Hi, thanks for posting! NCrunch doesn't have any offline documentation at the moment (as the docs are in wiki form), but I could certainly see how this could be useful. The documentation will be getting a major overhaul soon, with much of the content rewritten and all of it placed within a new…
30 Sep 2012 20:02 UTC
-
Simple test with test marked with black dots
Thanks for providing the bug report. Looking through this, it seems that something is going very wrong where NCrunch is attempting to get a list of all the types in one of your test assemblies. Unfortunately the error is quite non-specific, so I'm wondering if you might be able to tell me a bit …
27 Sep 2012 22:03 UTC
-
NCrunch fails to build files, Visual Studio 2010 builds fine
I had thought it was in there, but after checking, it seems I was wrong! Thanks for the prompting. I've added another section to the troubleshooting page describing the issue and how to fix it. Cheers, Remco
27 Sep 2012 21:50 UTC
-
Simple test with test marked with black dots
Hi, thanks for posting. The screenshots here are very helpful. With the corner indicator showing nothing is happening, and assuming that the test itself is stuck with this running status, this can only be caused by an error of some kind happening within the NCrunch engine. Most likely there is …
26 Sep 2012 21:14 UTC
-
ncrunch keyboard shorcuts
Right now NCrunch has a pretty limited set of shortcuts. More will be added in future. For the time being, all shortcuts are operating as part of the NCrunch top menu, so they're basically just shown next to the main menu options. Most of the major shortcuts were introduced as part of the 1.37b r…
26 Sep 2012 21:05 UTC
-
Portable class libraries fail to build if they include metro
Yes - this is caused by the same issue. VS2012 changed the way the build process works for Silverlight projects, they are now treated as 'PCL' projects alongside Metro applications. I hope to resolve this properly when Silverlight/Metro support is added to NCrunch.
26 Sep 2012 02:10 UTC
-
InvalidProjectFileException (a different one)
Hi, thanks for posting! If this project opens and builds for you in the VS2008 IDE, then it looks to me as though this error message may be wrong ... as the stack trace indicates that the build is using the 2008 MSBuild integration. If the project works only using older versions of Visual Stud…
25 Sep 2012 21:39 UTC
-
ncrunch.TestHost.x86.exe has stopped working - Bug
Hi, thanks for posting! This code causes a catastrophic crash because it causes a stack overflow to be thrown. Stack overflows are a bit of a nightmare for NCrunch and test runners in general. They can't be caught or handled, so they give you a big nasty popup dialog instead. I've been worki…
24 Sep 2012 21:06 UTC
-
Edit (Refactor) in Class Diagram
Hi Rudi - Thanks for reporting this issue! Is it something that consistently happens for you? I occasionally get reports for issues like this, although sadly they often tend to be very intermittent and difficult to reproduce in the NCrunch development environment. Cheers, Remco
21 Sep 2012 10:36 UTC
-
EnumerateTestCommands
There is an inconsistency here with the way that NCrunch handles situations like this vs other test runners. For reasons of simplicity, NCrunch doesn't have an 'inconclusive' state for tests that have been executed. This means that should a test report an inconclusive result at runtime (such as …
19 Sep 2012 22:58 UTC
-
"Pin" items in metrics window.
Hi, thanks for sharing this suggestion! There's been a few requests for features that can help to show how coverage is changing as the codebase is modified - and perhaps add restrictions or warnings when it goes down. Hopefully I'll be able to add something along these lines soon. Cheers, …
19 Sep 2012 22:48 UTC
-
1.41b: 'Additional files to include' not working?
I've introduced a fix for this problem in the upcoming 1.42b release. The behaviour is such that the AdditionalFilesToInclude setting will only work if the NCrunch project-level config file exists (otherwise you'll get an error). Known workarounds are: - Create the file yourself (perhaps by cop…
18 Sep 2012 21:04 UTC
-
NCrunch not detecting covered code when using TestCaseSource in NUnit
Thanks for the feedback on this. It's definitely a goal to try and align NCrunch as closely as possible with the normal behaviour of the testing frameworks it implements with, so you are 100% correct that the current implementation does not exhibit intuitive behaviour and thus is undesirable. Ho…
17 Sep 2012 21:01 UTC
-
VS 2012 Dark Theme Compatability
Hi Mark - Thanks for posting! I've lately been looking at ways to implement this. I use the dark theme myself also, so I'd like to add support for this. Hopefully it'll be added soon. Cheers, Remco
16 Sep 2012 00:15 UTC
-
NCrunch not detecting covered code when using TestCaseSource in NUnit
Hi, thanks for posting! I appreciate the effort you've gone through to provide a code sample - this was enormously helpful in analysing the problem. From a certain perspective this could certainly be considered a bug, although I'm not sure if there is a feasible long term fix for it, as even the…
15 Sep 2012 00:05 UTC