Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. "Take me to first failing test" keyboard shortcut

    From a clean implementation point of view, it seems to me like the best may be to have both options as separate shortcuts. Each could use the current position in order to identify what is the 'next' test to be navigated to, so it should be easy to jump through the code like this ... Thanks for y…

  2. "Take me to first failing test" keyboard shortcut

    Thanks for the suggestion! I've been thinking about the best way to implement something like this and would value your feedback on the approach. When navigating to a failed test, there are two points of navigation that are of interest: 1. The entry point of the test 2. The deepest accessible…

  3. xUnit display weirdness.

    Hi, thanks for posting! Right now NCrunch is utilising Xunit via Gallio, which somewhat limits the integration options in this area. There are long term plans to move away from this, in which case features such as these will be more feasible to develop. Something you can try (which may make a…

  4. vbc.exe issue on build

    It must be caused by a certain piece of code that the project surfaces and is referenced from the project that is failing. Is there any part of the project that is consumed by the failing project and appears to be structurally/syntactically complex? For example, a generic multidimensional array, o…

  5. vbc.exe issue on build

    Nice work! Is there anything about this project that could be considered unusual compared with the others? For example, a different .NET framework version, perhaps some particularly low-level or structurally complex source code ...

  6. 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…

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

  8. 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…

  9. 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…

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

  11. 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…

  12. 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…

  13. 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…

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

  15. 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…

  16. 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…

  17. Implicit Dependencies with Visual Studio

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

  18. 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…

  19. 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…

  20. 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…