Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Metric not calculate tests coverage satelite dll by tests from main program

    Sorry - Could you clarify for me ... Is the DLL file derived from a project that is part of your solution? If so, do you see any coverage markers for this project's source code inside the code windows?

  2. Dot in function name confuses test window

    Hi, thanks for reporting this. NCrunch's ability to handle F# test names containing a period is a known problem. This is caused by some code in the test discovery step that is making an incorrect assumption about the structure of tests containing a period. There's a fix for this available in …

  3. Troubleshooting "hanging/cpu hog" taskrunner

    Great stuff. Nice work in finding the problem :)

  4. Troubleshooting "hanging/cpu hog" taskrunner

    Also don't forget that NCrunch will let the task runners hang around after the processing queue is clear. This is in the event that it may need them to run more tests. This is unless you have the [url=http://www.ncrunch.net/documentation/reference_global-configuration_terminate-test-runners-on-com…

  5. Troubleshooting "hanging/cpu hog" taskrunner

    I don't have any ideas off the top of my head on this one. It's interesting that breaking into the process wouldn't let you obtain a stack trace - this makes me suspect that something is going on in unmanaged code. Do you know anything about what kind of tests may have been running in the proces…

  6. 2.2.0.1 Grid build on projects with reference to System.EnterpriseServices.dll

    Thanks, I understand. Is there any chance you remember which project template was used to create the project? This seems to be a consistent pattern for people that experience this problem. I think it may be related to one of the VS project templates.

  7. View files crash with NCrunch installed

    Thanks for sharing this. If you manage to reproduce it again, see if you can attach a debugger onto the process when it crashes. I'm curious about what the stack trace may give us. NCrunch has no special integration whatsoever with the editor around cshtml files, nor does it manipulate the edit…

  8. 2.2.0.1 Grid build on projects with reference to System.EnterpriseServices.dll

    Hi Thierry, This issue currently stands as unresolved as I've been unable to obtain enough information to be able to recreate it. Would you have any luck in producing a test solution that can surface the issue? If so, can you submit it via the [url=https://www.ncrunch.net/Support/Contact]contac…

  9. Ignore categories of tests

    Ahh - that would make sense. In that case, I highly recommend the upgrade :)

  10. Ignore categories of tests

    Sorry, what I mean is that you can still select the 'Ignore' and 'Unignore' options in the Tests Window when a Category row is selected. The Tests Window will then apply fixture-level ignores to ALL tests within the category you've selected. So it isn't possible to apply Category-level ignores…

  11. Metric not calculate tests coverage satelite dll by tests from main program

    Hi, thanks for posting! What is the nature of the reference between these projects? Has NCrunch given you any warning about lost references? Do you see anything in this documentation page that may apply to your situation? [url=http://www.ncrunch.net/documentation/troubleshooting_missing-code-…

  12. View files crash with NCrunch installed

    Hi Steve, Thanks for sharing this problem. I haven't heard of this one before. What is the nature of the crash? Is it taking out the VS process? Do you get any kind of error information? If you turn on the 'Log to output window' global NCrunch configuration option, do you see any exception…

  13. "The configuration data for this product is corrupt." after uninstall

    Did you have any luck with manually removing the install files from Visual Studio? If the MSI fails, you can also try a [url=http://www.ncrunch.net/documentation/manual-installation-instructions]manual installation[/url]. Sadly, even the simplest MSI isn't 100% reliable in all cases, so sometime…

  14. "The configuration data for this product is corrupt." after uninstall

    Hi, thanks for sharing this issue. The NCrunch VS package doesn't store data directly in the registry. VS will, however, create some entries when it registers the package. Probably this is being caused by corrupt files in the install path. Where do you receive this error? Is it when you run…

  15. Exclusively uses attribute seems to not be working

    Ok - this suggests the engine is behaving correctly by not running tests concurrently when they use the same resource. The test tasks themselves are batches, so all tests within each batch are run synchronously within the same process. How did you get on with the test process memory limit? Di…

  16. Ignore categories of tests

    Hi, thanks for sharing this. Right now NCrunch doesn't have any ability to set ignore specifiers at category level. This was an intended feature of the V2 release, but it was axed when the complexity went through the roof. The ignore options DO work at category level inside the Tests Window, …

  17. Code Coverage not respecting ExcludeFromCodeCoverage

    NCrunch does support this attribute at method level, but be aware that methods containing the following will likely be unaffected by the attribute: - Lambda expressions (contents of lambda will still be shown with code coverage) - Yield return (iterator) methods - ASync/Await methods This is…

  18. Remote server: "hanging" nCrunch.TestRunner at grid node after devstudio was closed

    Unfortunately the only way to extract logs from a grid node server is through the standard logging options, which are disabled by default. It's not really a surprise to me that the node had trouble coping with an out of disk space scenario. The error handling in this area is very light, so there…

  19. NUnit Tests with TestCaseSource are failing

    Hi, thanks for sharing this issue. Let's see if we can get a more descriptive error. In your global NCrunch configuration, set the 'Log Verbosity' to 'Detailed', then try running one of the failing tests. Open up the processing queue, then find the test task responsible for the test run you…

  20. Disable NCrunch for individual projects in a solution

    I generally would recommend avoiding changing the .ncrunchproject file manually, as the settings in this file are driven by NCrunch's configuration window. If you can find the project under the NCrunch Configuration Window, it should be very easy to change the setting from there. The Configuration…