Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Build error when out of disk space

    Thanks, this makes sense. It's a tough one to catch reliably, but I'll have a look :)

  2. Cannot build and run tests in a complicated server/client project

    Hi, thanks for posting! Getting NCrunch to run against a large and well established established project that wasn't built with NCrunch in mind can sometimes be challenging. Even more so if you haven't been involved from the project since its first inception. The best thing I can recommend is …

  3. Nuget Restore Error

    Something that may let you work around the problem could be to move the nuget files out of this directory and into a different one. I'm not sure if this will have any impact on your installation of future Nuget packages, but in theory it should work just the same. You'd need to adjust your .proj f…

  4. Nuget Restore Error

    Yes - this makes a very big difference! NCrunch is programmed to ignore hidden directories because they are often used by VCS software to store often locked data adjacent to the VS solution. I would expect that your solution will start working correctly as soon as you flag your .nuget director…

  5. Compile Errors Hyperlinking.

    Hi Tom, I have an entry in my backlog for the hyperlinking - it really has been a long time coming. Hopefully I will have time to work on it soon. Thanks for the suggestion! Cheers, Remco

  6. mspec and generic type behaviors not found by the runner

    Hi, thanks for sharing this issue. I've successfully reproduced this problem and can confirm that NCrunch does not properly recognise generic MSpec behaviors. A fix for this issue will be included in the next version of NCrunch. Cheers, Remco

  7. Failing intergration test with ncrunch not with ReSharper NUnit

    Hi, thanks for posting! Yes the behaviour of NCrunch around x86/x64 is different in NCrunch vs ReSharper. There is no standard for how test runners should behave between x86 and x64 environments, so unfortunately there is no right answer for how to approach this. You made the right move by choosi…

  8. Nuget Restore Error

    Thanks. It would be great if you're able to rule out any possible reasons for why this is failing.. For example, you mentioned that you are accessing the solution via a network share. Does the solution work if you copy it to the local drive of the VM? Also, do any other solutions using Nuget work…

  9. Association of non-code (and other undetected dependency) files with tests

    Thanks for the suggestion. I do have plans here, though these were more of the automated variety (i.e. profiling a test to identify its file dependencies). Right now, as long as NCrunch is aware of a file dependency, it will always rerun tests whenever the file is changed.. However, it doesn't kno…

  10. PostSharp build problem

    Hi, thanks for posting! It definitely looks to me like NCrunch is not aware of the postsharp build step binaries and is therefore not copying them into its workspace. You should be able to confirm this by right clicking on the failed build in the Tests Window, choosing Advanced->Browse to worksp…

  11. VS2011 metro project support

    That's perfect, thanks very much! Did the 'additional files to include' workaround do the trick for you?

  12. VS2011 metro project support

    Hi, thanks for posting! It looks like the project type you're using is making use of a certain type of file that NCrunch doesn't yet auto detect to copy into its workspace. You can work around this problem by using the 'Additional files to include' configuration setting to tell NCrunch about the…

  13. Not showing all the tests covering a function/method

    LOL. No problem :)

  14. MSpec empty tests should be reported as FAILED not PASSED

    Thanks for reporting this. I've reproduced this problem and It looks as though the configuration flag isn't being properly considered for MSpec. I've noted it down for a fix in a future revision. Cheers, Remco

  15. Nuget Restore Error

    Thanks. I've looked through the bug report though with the size of your project I was only able to analyse the tail end of the log. If you're able to submit a bug report just after NCrunch is initialised (and while your projects are just starting to build), that would be really helpful. Also, w…

  16. Nuget Restore Error

    NCrunch is able to easily detect the .targets file as being included using your project file's <import> tag. However, the resources used by the targets file cannot be automatically detected by NCrunch (hence the need to define them with the additional files to include). Normally NCrunch should d…

  17. Not showing all the tests covering a function/method

    There isn't any limit to the number of tests that NCrunch will show covering are particular line/method. However, sometimes the behaviour of the coverage is misunderstood. NCrunch will only show physical code coverage (not conceptual code coverage), so if you have a static constructor that you a…

  18. Nuget Restore Error

    This is interesting - it looks as though your Nuget is performing package restore by default (even though it hasn't been configured at all in your project). The additional files configuration option should work at both project level and solution level. If you're specifying it at solution level, …

  19. Nuget Restore Error

    Hi Alastair, Are you able to share the nuget configuration inside the .proj file that's causing the problem? (copy/paste of the XML would be great). It's possible that NCrunch isn't detecting your nuget configuration properly and is failing to pick up the files automatically. Note that you c…

  20. Tried creating a no-contract build configuration for ncrunch, ncrunch can't build anymore

    For anyone interested, Strilanc did some offline troubleshooting around this problem and determined it to be a defect in NCrunch that can be caused by certain IL configurations around generic types that can be emitted from the VB.NET compiler. A fix for this issue is currently underway.