Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Test Using DeployItem attribute throw errors
Hi Digicoder - I've looked into this in a bit more depth, and I've been having trouble getting MSTest to use the DeploymentItem myself when it is applied to a ClassInitialize method. Do you know if there are any circumstances under which this should work? Looking through various scraps of docum…
10 May 2012 06:32 UTC
-
Build failure - no space before base class
Hi John, Nice analysis. The csproj encoding changes are normal, but NCrunch forgetting the content of the source file is definitely not. I have a feeling this is the same issue you described earlier, though affecting a different file. The problem itself will be something in the way that NCrunc…
09 May 2012 23:49 UTC
-
minimum execution time in tooltip
Hi Balfa, Thanks for the suggestion. I can see other opportunities here too, such as adding in a 'Maximum execution time'. The metrics shown could be configurable and therefore better suited to your situation. Cheers, Remco
09 May 2012 21:39 UTC
-
Test Using DeployItem attribute throw errors
Thanks! Great to hear. I'll make a note to sort this out so that the DeploymentItem also works on the setup method, as this will be more consistent with MSTest's implementation. Cheers, Remco
09 May 2012 21:36 UTC
-
NCrunch Build Failing With RamDisk + NuGet Enable Restore
Hi Steve - There is currently a known problem with disk consumption when using a number of Nuget packages with NCrunch - http://forum.ncrunch.net/yaf_postst336_Constantly-running-out-of-disk-space-on-my-6GB-RamDrive-with-a-200mb-solution.aspx I'm currently working on a fix for this. Meanwhile…
09 May 2012 21:35 UTC
-
Doesnt run [Theory] tests
Thanks - that confirms that the issue is with Gallio's static analysis of the Xunit tests. I'm not sure what can be done about this in the short term, but I am expecting to make some revisions around the Xunit integration in future so hopefully it will later be fixed.
09 May 2012 21:33 UTC
-
Doesnt run [Theory] tests
Hi, thanks for reporting this issue. Does the issue still occur if you set your 'Framework utilisation type for Gallio' to 'DynamicAnalysis' inside your NCrunch solution configuration?
08 May 2012 21:44 UTC
-
'continuous build' output available for (Ctrl)F5?
Hi, thanks for posting! The main vision of NCrunch has always been to try and get out of the way of the IDE and the normal build system. This is done for a number of reasons: Interference with other user/IDE processes - Having a continuous test runner constantly locking files and manipulating…
08 May 2012 21:43 UTC
-
Test Using DeployItem attribute throw errors
Hi, thanks for posting. It looks as though NCrunch is having difficulty with the DeploymentItem existing on the static fixture setup method. Does this work correctly for you if you move the item to the test method instead? Thanks! Remco
08 May 2012 21:28 UTC
-
Find test coverage issues report
In a sense, this is what the Tests Window was designed to do. I think a key feature that the Tests Window lacks is the ability to easily navigate back to the code via stack trace navigation - which is something I hope to fix soon. Thanks for the suggestion :)
06 May 2012 09:46 UTC
-
Test coverage at a glance
Thanks for the suggestion. I had been looking at summary markers for methods (perhaps with a different shape), although the idea of also having markers at a class level wasn't something I had considered - and it's definitely a good idea.
06 May 2012 09:44 UTC
-
Tests build & run in VS2010, but not in NCrunch
The tricky thing with solving this inside NCrunch is that doing so would require NCrunch to have a logical understanding of the entire workings of the build scripts being included by the <Import> tags in the proj file. In the case of Cavity, a very rudimentary understanding would be ok (as the scri…
06 May 2012 09:42 UTC
-
VS11 ShimNotSupportedException when using Shimming from Microsoft Fakes
Hi, thanks for posting! My first thought on reading this is that NCrunch's instrumentation is interfering with Fakes at a runtime level. There are other mocking frameworks that work in a similar way, and NCrunch has specific catch-points to deal with their logic. In the current version of NCrun…
06 May 2012 00:19 UTC
-
Tests build & run in VS2010, but not in NCrunch
Hi Alan! It's great to hear from you and I hope that all is well. I've had a go at running NCrunch against Cavity, and I think that you may have some work ahead of you to make NCrunch work correctly against a solution of this structure. NCrunch works by extracting individual projects from the…
06 May 2012 00:06 UTC
-
Indicators missing! Uninstalled extension by mistake.
Hi, thanks for posting! My assumption is that you're running VS2010, so please do correct me if I need to revise these instructions. When you uninstall a VS extension using the extension manager, it will immediately disable the extension by marking it for deletion. This creates a somewhat unu…
03 May 2012 22:38 UTC
-
very long time to build new workspace - possibly the cause is nuget
I like your idea of showing the message if the packages dir is empty or missing. To me this would probably catch around 99% of the error cases and could give a meaningful message asking the user to rebuild their solution before enabling NCrunch. I'll see what I can do about implementing this pro…
03 May 2012 01:16 UTC
-
very long time to build new workspace - possibly the cause is nuget
This is possible, but then there is the underlying question of why a user would be making use of nuget package restore. The main reason I could think of is if they were working with a solution under which all Nuget packages had been deliberately left out of source control. In this case, there is…
02 May 2012 23:47 UTC
-
very long time to build new workspace - possibly the cause is nuget
Hi, You're absolutely correct with all of the above. NCrunch is copying all the nuget references into each isolated workspace for each component, and this creates a lot of grinding. It also uses a lot of disk space. NCrunch won't recopy the nuget packages again once the engine is properly wo…
02 May 2012 22:09 UTC
-
Hotkey for "Ignore all tests outside current file" + counterparts
Hi, thanks for posting and thanks for the feedback! NCrunch has a feature that you might find interesting (you may have already seen it, but I thought it worth checking). If you right-click a test in the Tests Window (or the code coverage popup) to bring up the context menu, then look under 'Adv…
02 May 2012 10:35 UTC
-
Build failure - no space before base class
That's ok - do let me know if you experience another occurrence of the issue, I have a feeling we're getting close.
01 May 2012 22:43 UTC