Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

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

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

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

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

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

  6. VS2011 metro project support

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

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

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

    LOL. No problem :)

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

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

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

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

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

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

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

  16. NCrunch Test Menu and Column Management

    Hi Mark, Thanks for the feedback! Almost all of the functions around the columns and the tree view are handled by the 3rd party control used on the page (DevExpress TreeView), and as such I'm not sure whether there's much I can feasibly do to change the behaviour. Still, it's good to hear about…

  17. Show exception details window issue

    The show exception dialog wasn't really designed to provide large amounts of trace information from a failing test - this information is best analysed by navigating to the failing test in the Tests Window and viewing the output there. Still, I don't see any reason why it couldn't be enhanced to be …

  18. Instrument Output Assembly + PostBuildEvent

    I've been digging through the source code of the SheepAspect project and I think I may have found the issue. When SheepAspect performs its manipulation of your output assemblies, it uses Mono.Cecil to write assemblies back to disk along with their symbols. The Mono.Cecil symbol writer is backed …

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

    Ahh ok - sorry, the preview and beta are both very different things to me (and required different levels of pain in order to support!). I find it a bit disturbing that VS11 follows the behaviour you've described above, and will make a note to look into it deeper. The key issue is that NCrunch need…

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

    Wow, that sounds quite crazy, but it does make sense. Is there a reason you're still using the VS11 preview? The VS11 Beta may be more stable with NCrunch.