Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. DeploymentItem results are inconsistent

    Great to hear that you found a solution. NCrunch is modelled from the behaviour of MSTest (not Resharper), so there may be some differences here in the way it works. Another approach I often recommend to people is to reference test resource files outside the MS Test sandbox (i.e. not using deplo…

  2. Xunit Theory and Code Coverage Markers

    For an Xunit theory, this is quite possible. Also have a read of the difference between Logical and Physical code coverage, as depending upon the nature of your code, this may also have an impact on your code coverage.

  3. Test fails without error message

    Is the 'include static references in workspace' configuration setting disabled? Other than absolute file path references, this is the only way that it can be possible to have locking problems between VS and NCrunch. If you have this setting disabled for any of your projects, try turning it on - th…

  4. Test fails without error message

    Is it the same test that is failing consistently? Does it also fail if you run it directly via the UI (via clicking the 'run' option on the tests window)? Is there anything you would consider to be unique about the structure of this test?

  5. Pricing

    Hi Wise, Sorry but this is the pricing for NCrunch. There are no plans to change the pricing tiers. Indeed, it is very common in this industry to have different tiers for different classes of user. If the price is too high for you, then maybe this is not the product for you.

  6. DeploymentItem results are inconsistent

    Hi Danny, Thanks for the detailed response! My first suspicion is that the file not being deployed is missing from the NCrunch workspace, because it wasn't included in the project file - have a look at [url=http://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-depende…

  7. Test fails without error message

    This usually means the test runner has had an internal failure. Check the processing queue for the test task that failed - do you see an error message in the bottom pane?

  8. Xunit Theory and Code Coverage Markers

    Hi, thanks for posting! I'm wondering if this may be to related to the execution pattern taken by the tests while NCrunch is recording coverage. There's a good [url=http://www.ncrunch.net/documentation/troubleshooting_missing-code-coverage]description in the documentation[/url] of how NCrunch's …

  9. Color scheme reverts to default, but configuration still shows the correct colors. VS 2012

    Hi, thanks for posting! The colour control for the tool windows is still a new feature, so it's quite possible there is a problem here. Do the windows adjust to their correct colouring when NCrunch is first enabled? NCrunch doesn't actually identify any tool windows until it is first switched o…

  10. Projects won't build

    Hi Dan, Sorry, I missed your earlier post. I hope you don't mind me asking a few more questions to help narrow this down further. - What is your current setting for the 'Include Static References In Workspace' setting? Do any of your projects have this disabled? - How frequently does this oc…

  11. FxCop (CodeAnalysis) is running during NCrunch build

    Hi, thanks for posting! The best way to handle this situation would be to find the property or build step inside your .proj that involves executing FxCop, and marking it with a condition so that it will only execute if NCrunch isn't present. You'll find an example of how to implement this [url…

  12. Tests don't fail when MSTest initialize function is incorrect

    Hi Sam, Yes. NCrunch's implementation of MSTest is emulated rather than integrated, which means that issues like this do exist. The tricky thing is that introducing a version of NCrunch that changes this behaviour may very well cause tests to break for other users who have written tests now r…

  13. DeploymentItem results are inconsistent

    Hi Danny, Thanks for posting! Are you able to show me the declarations of these DeploymentItems and the tests that use them? (test code inside the methods not needed unless you want to share it). This will help me to identify why NCrunch is failing in this situation. If you haven't already, …

  14. No coverage for [SetUpFixture] class (NUnit)?

    Thanks for your feedback. It's quite a significant adjustment to change the way that this works, so I'm afraid that no changes in this area will be released as part of a minor revision. If this feature is changed, it will likely be in V2 or beyond. Cheers, Remco

  15. Optional argument causes build error when PCL does not target Silverlight

    This makes sense. The instrumentation step is also used to write the debugging information of the assembly so that it points back to the right place. There isn't an easy fix for this... I think I'd rather focus on the main issue that caused you to need to turn off this setting in the first place :…

  16. Academic/Student License

    Hi, I'm sorry but there is currently no plan in place for a discount/free student licensing scheme. This is largely because of the difficulty in administering such a system fairly and in a way that is not open to abuse. Sorry, Remco

  17. Test process with timeout failure hangs after debugging

    Thanks - I just saw the bug report come through. I'll take a look and will see what I can do. Cheers, Remco

  18. Test process with timeout failure hangs after debugging

    Hi - I couldn't reproduce this situation when testing locally. Would you mind submitting a bug report after you've had it happen to you? Thanks! Remco

  19. Execution error in integration test using Oracle

    It sounds as though this problem may stretch a little further than the NCrunch test environment :) But I still think I can suggest something that will work in all situations. MSBuild can very easily make use of environment variables - so a simple solution would be to set an environment variable …

  20. Projects won't build

    The problem seems consistent with a workspace synchronisation problem ... which is something that did show up in early versions of NCrunch, but hasn't been reported for quite some time. This makes me a little anxious as I was hoping to have seen the last of these sorts of issues (they are very hard…