Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. often have to Disable/Enable NCrunch to fix build errors

    The problem you're experiencing is likely a desynchronisation between NCrunch's in-memory model and the codebase you're working in. It's fairly rare, but sometimes when performing many refactoring and/or search/replace actions it can show up. The causes of desync issues are not yet understood.…

  2. does not exist in the current context

    Hi Paul, My first preference would be to fix the debugging so that it would work with the instrumentation :) Of course, the technical constraints are such that I don't see this happening any time soon. Your feature makes good sense. Do you want to put some votes towards it at [url=https://ncru…

  3. FSharp Xunit tests in module without traits stuck in pipeline

    Hi, thanks for sharing this issue. NCrunch hasn't introduced any changes around xunit integration for a very long time... So I suspect that there is more to this issue that would immediately seem to be the case. Can you check that you aren't working inside a custom engine mode that has deliber…

  4. Remote server: Cannot use semicolon (";") in custom environment variable value.

    Hi, I've prepared a build with a fix for this issue. Anyone that is blocked by this problem is welcome to give it a try - [url=http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.6.0.8.msi]http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.6.0.8.msi[/url] [url=http://downloads.ncrunch.n…

  5. Making NCRUNCH aware of additional reference (for which there is no code, just dlls)

    Hi Dave, Is there any chance you could submit a bug report after the NCrunch engine has initialised with the 'Infer project references' option turned on? I'm not sure why this isn't working for you .. but it is new and experimental. Hopefully the bug report will yield some interesting informati…

  6. NCrunch complaining about processor mismatch for a file that isn't being referenced by the project

    Hi, thanks for sharing this issue. I think the first thing to try would be to move your V2 codebase to a different location on disk. If there are references from anywhere in the V3 code that touch the V2 code, this would cause them to break (thus highlighting any dependency). Making any chang…

  7. Remote server: Upgrading to 2.6.0.4 does not keep logon credentials for windows service

    I think that would be a matter of perspective. I'll think you'll find that in many cases, upgrading a product of any kind where the installation state has been changed would probably give similar behaviour. For example, if you changed a .config file for a .NET product installed via MSI, you could …

  8. Remote server: Allow running test on a specific server without changing NCrunch config

    I've done some more testing on this, but I can't seem to reproduce the issue. I'm wondering if there's any chance you could reproduce this in a simple scenario, then send me the log file from the grid node that covers the execution of these tests? Also check to make sure that you've set your '…

  9. Remote server: Upgrading to 2.6.0.4 does not keep logon credentials for windows service

    Thanks. This will be because an upgrade install is uninstalling the existing service, then installing the new one over the top. This is the cleanest way to ensure a full upgrade, as if the install parameters for the service ever change, the installer needs to be certain that the service is install…

  10. xUnit tests classes with the same name cause NCrunch not to execute the test

    Hi Juan, NCrunch has no deliberate constraints like this ... as far as I know, the code you've described should work correctly. I am aware that having tests with the same namespace, class and method name can cause issues, as NCrunch uses these three pieces of information to uniquely identify t…

  11. Custom MSpec delegates not recognized...

    I've just set up a uservoice page for NCrunch to help collect feature requests. You're welcome to share your thoughts on both the SDK/API and the MSpec dynamic analysis if you like - [url=https://ncrunch.uservoice.com/]https://ncrunch.uservoice.com/[/url]. It would be useful to have these features…

  12. doe not 'Go to selected test'

    Great to hear! I received your message and can confirm it was actioned. I've been trying to email you this confirmation, but your mail server doesn't seem to like my SMTP server for some reason (it seems I'm a spammer?). Anyway, I'm glad all is resolved :)

  13. doe not 'Go to selected test'

    Hi, Thanks for sending through the sample code. I was able to reproduce the problem and can confirm that it is related to the ExcludeFromCodeCoverage attribute, which seemed to be causing problems for NCrunch when applied at fixture level. I've prepared a build that includes a fix for this pr…

  14. No feedback when exception thrown in TestCaseSource attribute method

    Hi Jason - Yes, this is expected behaviour. Quite possibly you'll see the project fail with an error in its analysis task (depending upon the execution time of the 'yield' and NUnit's behaviour). Although this might not seem very intuitive, it works this way for a good reason. With NUnit, af…

  15. doe not 'Go to selected test'

    Hi, Sorry but I'm still not sure why this issue is appearing for you. Is there any code you can share with me including a .cache file with the problem? I'm afraid it's hard to analyse the issue without being able to observe it in action.

  16. Custom MSpec delegates not recognized...

    Hi Garry - You're correct in your understanding that the static analysis could be modified to include support for this feature. However, the extra search logic would impact the performance of the algorithm. There is also the evidence you've presented that the current analysis approach with MS…

  17. Making NCRUNCH aware of additional reference (for which there is no code, just dlls)

    I agree that a console wrapper seems like the simplest solution. I can probably rig this up with some log output too, just so it is a bit more flexible and people can also use it for other purposes. It may also be useful for my own testing. Thanks for the suggestion - I'll see what I can do.

  18. Making NCRUNCH aware of additional reference (for which there is no code, just dlls)

    Does it work with a service that's set to log in as the local user, and set to interact with the desktop? (i.e. controlled by the settings under the service properties).

  19. Making NCRUNCH aware of additional reference (for which there is no code, just dlls)

    Great to hear. Thanks so much for the reproducing code sample - I'll use this to see if I can provide a better way to handle this situation. Do get in touch if/when you have issues with the GPU computing and we'll see if we can work out a solution. There isn't any built-in way to make the servi…

  20. Custom MSpec delegates not recognized...

    Hi Garry, Right now NCrunch uses its own custom static analysis method to find MSpec tests. This approach relies on the full type/namespace name of the 'It' type. It is extremely fast, although there is no support for more complex test declarations like what you've described. This sort of su…