Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Controlling display order of tests in Ncrunch Test window

    Hi Phil, Thanks for the feedback. You're correct in your assumption that it is difficult for IL-dependent tools such as NCrunch to use data on source file sequence. It's theoretically possible but very hard and likely not worth the investment relative to other higher value features. Though I d…

  2. vbc.exe issue on build

    In order for NCrunch to really work correctly (with all its features), 'Instrument output assembly' should be set to 'True'. NCrunch uses the instrumentation in order to perform code coverage analysis, so you'll notice that the coverage markers don't appear if you have it turned off throughout your…

  3. Controlling display order of tests in Ncrunch Test window

    Hi Phil, Thanks for posting! My observation of the test order is that it is normally alphabetical, although I can't find a mechanism that strictly enforces this (so most likely there are random elements). It makes sense to me to always have the test order consistent, so I'm thinking I may m…

  4. vbc.exe issue on build

    Something else to try... For all of the projects in your solution (use multi-select in the tree list if this makes things easier): Turn OFF the 'Include static references in workspace' option Turn OFF 'Instrument output assembly' Turn ON the 'Copy referenced assemblies to workspace' option Tur…

  5. Automatically select first broken test in NCrunch Tests Window

    Hi, thanks for posting! This feature has been requested a few times and is pending in the backlog for the next release (1.41b). If all goes well, you should see it soon :) Cheers, Remco

  6. Implicit Dependencies with Visual Studio

    .vcxproj files still make use of the same (or at least very similar) syntax in order to include source files, for example: <ItemGroup> <ClInclude Include="ClrCpp.h" /> <ClInclude Include="resource.h" /> <ClInclude Include="Stdafx.h" /> </ItemGroup> <ItemGroup> <ClCom…

  7. Simple developer API

    Hi, thanks for posting! Right now there are long term plans in place for extension points into NCrunch's architecture, although with the product having not yet cleared its beta state, my preference is first on making sure the tool is working in a mature state and that the API surfaced will be one…

  8. Debug covering tests not catching StackOverflowException

    NCrunch 1.40b did introduce a certain level of handling for stack overflows, though this doesn't seem to be working reliably and at this stage I have no information on how to properly improve it. I'll need to keep this issue on the backlog until I can find a smarter way of handling it that will w…

  9. Debug covering tests not catching StackOverflowException

    I'm not sure how much can be done to change this behaviour (the CLR is very strict in how it handles stack overflows, and there are limited points of interception). Do you experience the same behaviour if you set the 'Use hosted task runner' global NCrunch configuration setting to 'False'?

  10. Errors occurred while trying to load the project file

    There's a lot happening here that I'm not sure if I completely understand, though I suspect this is related to the default configuration specified in the project file. NCrunch will always rely on the default build configuration and platform that is specified in the project file when running its b…

  11. NCrunch does not recursively copy msbuild target imports

    Hi, thanks for posting! Right now NCrunch has a known issue with stylecop settings files that are placed adjacent to a solution (.sln) file. If you're making use of solution-wide stylecop settings, this may be something to watch out for as NCrunch likely won't have copied this settings file to t…

  12. Implicit Dependencies with Visual Studio

    Thanks for the feedback. I've updated the page to make it clearer.

  13. Show code coverage markers in line with method names

    There is a task in the backlog to add a summary marker on the declaration of methods/classes so that the coverage is readable even when these structures are collapsed. Unfortunately this will require a considerable amount of work, so it may be a while before this features is introduced. Thanks for…

  14. NCrunch fails to build files, Visual Studio 2010 builds fine

    Try turning on the 'Copy referenced assemblies to workspace' setting for ALL the projects in your solution. MSTest accessors require this setting to be enabled, and while NCrunch does usually turn it on automatically, sometimes it doesn't detect the requirement for it where it should. Note that th…

  15. Test Project build just stucks

    I think that the issue is related to something in the license compiler that is behaving strangely inside NCrunch's build environment, possibly due to threading issues. I'll make a note to look a bit deeper at this to see if I can reproduce the problem. Meanwhile, you may be able to work around thi…

  16. Test Project build just stucks

    Do you have any .licx files included as items in the problematic project? If so, does removing these files make any difference in your NCrunch build? Would you be able to share the MSBuild XML being used to include them in the project?

  17. Does NCrunch require the x86 platform to be defined for a project?

    NCrunch will always use the default platform that is specified in the .proj file (whether this is x86 or x64 totally depends upon how your .proj file is laid out). Look for a line in your project file that's something similar to the following: <Platform Condition=" '$(Platform)' == '' ">x64</P…

  18. Exception During Install

    Is the environment you're installing into somehow access restricted? The first thing that comes to mind is if the Windows Installer package somehow failed to elevate itself. Weird. Thanks for letting me know about the 'Remco Software' documentation problem - I've just fixed it now :)

  19. Support for running Moles (Fakes in 2012)

    Hi Rob, Thanks for your understanding. Right now the main issue with NCrunch is that it's an extremely integrated product, and every new integration point needs to be carefully tested, maintained and supported. Mocking frameworks in general can be challenging to integrate with NCrunch due to th…

  20. Constantly running out of disk space on my 6GB RamDrive with a 200mb solution

    Are there any obvious indications around what is taking up all the space? Can you give me a rough count of the number of project workspaces that NCrunch has created on your RAM drive? (these are basically just directories with numbered names nested underneath a directory with the same name as the I…