Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. dotnet.exe hosted by nCrunch.EngineHost462.x64.exe using 25% CPU doing nothing

    Thanks for these extra details. Just to confirm, the only process pulling CPU here is dotnet.exe right? If so, this actually isn't an issue with the NCrunch engine. dotnet.exe is a bootstrap process used by .NET Core to start the process that hosts user code. Neither NCrunch nor yourself will …

  2. Recomendations for working with local db/sqlserver

    Hi, thanks for sharing this problem. v3.23 didn't introduce any changes to the concurrency or pipeline behaviour, so the problem is unlikely to be caused by anything directly changed in this version. However, v3.23 DID change the cache file version, which means that NCrunch might have started …

  3. There is a circular dependency in the target dependency graph involving target "ReBuild"

    Hi Alberto, I'm sorry to hear that. To analyse this further, I'll need to get a sample solution that can produce it so that I can trace through the build logic in detail. I've never seen this problem before and I'm not sure why your solution is different. If you're able to isolate the problem …

  4. There is a circular dependency in the target dependency graph involving target "ReBuild"

    Hi Alberto, It should normally be totally OK for you to work in Release mode and in any combination of platforms, thought there is a good chance that these settings are resulting in the problem you're experiencing, as NCrunch will use the project defaults for the build configuration/platform rath…

  5. How to copy test files to NCrunh folder

    When tests are run with a debugger attached, NCrunch won't record code coverage for the run and will instead use coverage from the previous run. This is because the debugger interferes with normal execution data, so we only capture the trace output and exceptions instead. This might explain some o…

  6. dotnet.exe hosted by nCrunch.EngineHost462.x64.exe using 25% CPU doing nothing

    Thanks for the dump. Would it be possible for you to send through a 'Bug report' when the engine is 'Busying' itself? You'll need to do this when the engine has no work it's supposed to be doing, but is still chewing CPU. The bug report contains a log that should be very revealing.

  7. How to copy test files to NCrunh folder

    Are you able to reproduce this issue in a sample solution? If you have a small test solution where NCrunch is working, it might be possible to progressively transfer code/structure/configuration between this test solution and your main solution until you can find the cause. If you can share a samp…

  8. There is a circular dependency in the target dependency graph involving target "ReBuild"

    Hi Alberto, Thanks for sharing this problem. This is a new one for me. Does this particular project have any custom build targets or post/pre build events configured? Something to check is whether the platform configurations you have in the project file are lining up with the project defau…

  9. dotnet.exe hosted by nCrunch.EngineHost462.x64.exe using 25% CPU doing nothing

    [quote=slafave;13051]I have a solution with 158 tests. They are all passing, they all execute in milliseconds. In the past week I noticed that NCrunch Engine was consuming 25% of my CPU time, even when I'm not doing anything in VS. NCrunch has nothing queued for execution, I'm not actively de…

  10. False positive test results with .NET Core

    Thanks for these extra details. This could be something wrong in Xunit or in our interpretation of its results ... I hope Xunit isn't trying to run these tests asynchronously. Do you have any [url=https://xunit.github.io/docs/configuring-with-json]configuration for Xunit[/url] that might encourage…

  11. How to copy test files to NCrunh folder

    Can you check if you have the 'Instrument output assembly' setting disabled at any level in your configuration?

  12. How to copy test files to NCrunh folder

    Does this documentation page help at all? [url=https://www.ncrunch.net/documentation/troubleshooting_missing-code-coverage]https://www.ncrunch.net/documentation/troubleshooting_missing-code-coverage[/url]. Has the engine given you any warnings about lost references or other problems?

  13. How to copy test files to NCrunh folder

    Sorry, this gets more complicated then. This is now a project accessing resources from another project's workspace. This documentation page explains the problem in detail. It's a bit harder to fix sadly: [url=https://www.ncrunch.net/documentation/considerations-and-constraints_assembly-colocati…

  14. How to copy test files to NCrunh folder

    Hi, thanks for sharing this issue. This should be an easy one to fix. The files need to be flagged up so that NCrunch knows to copy them. See here for more information: [url=https://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-dependencies]https://www.ncrunch.net…

  15. Navigate to tets displaying coverage when lost in code?

    This isn't very obvious, but one thing you can do is open up the Metrics Window and look for files with code coverage in them. The Metrics Window should be filtered by this feature in the same way as the code windows. If you're encountering this situation often, it might be worth using an engine…

  16. False positive test results with .NET Core

    If you haven't tried this already, I suggest giving Churn Mode a go. This should give you a way to surface intermittent failures consistently, allowing you to fix them. At the moment we have no known issues in NCrunch itself that could cause the problem you're describing. That doesn't mean th…

  17. False positive test results with .NET Core

    Hi Christoph, Thanks for sharing this issue. This looks to me very much like sequence dependent behaviour. What is the nature of the failure? Does examining the code coverage of the failed test give any clues about why it might be failing? Here's some relevant documentation around [url=ht…

  18. Console HTML report: See output of "test not run"?

    The problem is that the 'Not Run' state is handled as a composite of the test result itself, so it isn't possible in NCrunch's model for a test to have a 'Not Run' status at the same time as holding a previous pass or fail result. To avoid reporting pass/fail results from previous runs we're actual…

  19. Console HTML report: See output of "test not run"?

    Although this data is definitely available inside the NCrunch cache file, we've gone through some trouble to avoid including it in any of the reports generated by the console tool. This is because when such data is included in the reports, it creates some very confusing situations where people are …

  20. BUG: DynamicData does not work properly for StringExtensions

    Hi, Thanks for sharing this issue. I've reproduced it exactly as you've described. The problem is related to the nulls inside the object array, but you probably figured this out already :) I'll see about arranging a fix.