Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. License expiry notification

    Thanks for your feedback on this. There's a bit of a grey area here in that the NCrunch license system technically isn't a subscription. Even after your license maintenance/support period has expired, you can still use the license in versions of NCrunch released during your license period. It…

  2. Packages often fail to uninstall unless NCrunch is disabled

    [quote=Axima;14724]Is it possible for NCrunch to detect when a NuGet operation has started and de-activate itself, then re-activate when finished?[/quote] We want to. Detecting when it starts turns out to be quite simple. Detecting the end of it is much, much harder. We haven't found an ac…

  3. Packages often fail to uninstall unless NCrunch is disabled

    Presently, you should always disable NCrunch before updating your Nuget packages. We've been trying for years to find an acceptable way to handle Nuget's package update system, but what seems at face value to be a rather simple system to handle is actually not simple at all. This has much to do …

  4. ExcludeFromCodeCoverage not working

    Hi, thanks for sharing this issue. ExcludeFromCodeCoverage doesn't work here because at a physical level, the attribute doesn't get applied to the compiler-generated IL structure that comprises the async code block. It is possible for us to fix this. However, we can't find a way of doing so t…

  5. Server location

    The server for this website is hosted on AWS on the US east coast.

  6. Do you offer teacher discounts?

    Hi Ivaylo, Thanks for posting and for your interest in NCrunch. I am sorry but we don't have a licensing discount for teachers or educational providers. I can only offer you the [url=https://www.ncrunch.net/buy]list price[/url].

  7. Building asp.net core assembly taking 3 minutes in Ncrunch

    Try adding a condition to the target so that it doesn't run under NCrunch. For example: <Target Name="PublishRunWebpack" AfterTargets="ComputeFilesToPublish" Condition="'$(NCrunch)' != '1'">

  8. Building asp.net core assembly taking 3 minutes in Ncrunch

    Hi, thanks for sharing this issue. This specific problem won't be related to the AspNetCore.TestHost package ... this is something else. My guess would be that you have a build step taking an extraordinary long time to work. Do you have your ASP.NET project set to compile anything other than …

  9. Test coverage dots show wrong tests

    Are you able to share with me some sample code in which VSTest will execute the Task but NCrunch doesn't? I've tried building a test case to examine this behaviour. The following code of mine just causes VSTest to hang and the test run never completes. I must be missing something here. [code=c…

  10. Test coverage dots show wrong tests

    [quote=MatthewSteeples;14706]Thanks for getting back to us. That's probably not going to be a small change for us (our coding guidelines recommend returning the task if it's safe to do so) so we'll probably hold off until you've had a look to see if/when you might be scheduling a fix[/quote] Than…

  11. Test coverage dots show wrong tests

    I think you may have found a hole in our MSTest support. Probably, VSTest infers async behaviour based on the test method returning a Task type. Right now, unless the method is explicitly declared as async, we treat it as a synchronous method. Because your method doesn't return any exception (i.e…

  12. Is there a way to stagger the starting of parallel executed tests?

    Hi, thanks for posting. At the moment, we don't have any facility in NCrunch that can specifically do this. The best thing I can suggest would be to apply some concurrency constraints to the heavier tests to limit how much the engine will run them in parallel. An option would be to create sev…

  13. Would be nice to support .net5

    Hi, thanks for flagging this up. It's generally our policy to hold off on supporting new work from MS until it's at least at the late RC stage. We'll keep an eye on it :)

  14. not working with a nearly emtpy .net core 3 worker service

    Hi, thanks for sharing this issue. Presently we've performed no testing of NCrunch using this project template. It looks like a new one. When I try the latest version of NCrunch over a project built using the VS .NET Core 3.1 Worker Service Project template, everything seems to build OK. I…

  15. Hide Warnings - save in v3.ncrunchsolution

    Adding the hidden component warnings to the NCrunch solution configuration file may yield unintended results. Config settings are usually designed to inherit, but this one isn't. It might work, but then it may get cleared out by other hidden warnings if you add them at project level. Basically …

  16. Hide Warnings - save in v3.ncrunchsolution

    Hi, thanks for posting. Right now we have two types of warnings that are shown: Global warnings (things that are not attached to a project): These are stored in your NCrunch global configuration file under your windows user profile in the 'HiddenGlobalWarnings' XML field. Project warnings …

  17. Coverage percentage / Code not coverage

    Have you tried the NCrunch Metrics Window? NCrunch->Metrics

  18. Test coverage dots show wrong tests

    I suspect this may be caused by an anomaly during data collection, rather than corruption in the coverage database. Can you confirm that you can hit the lines with a debugger? If you insert tracing (Debug.WriteLine) in the 'uncovered' areas, do you receive confirmation in the test results that t…

  19. Test coverage dots show wrong tests

    Thanks for the bug report. I couldn't find anything obviously wrong in the report. Is this something you're able to reproduce with any consistency? Does the coverage tracking always stop at the same place?

  20. Coverage percentage / Code not coverage

    Hi, thanks for posting. I'm not entirely sure what you're asking, but if you right click on a test in the Tests Window (or in the test list popup window), you can choose to show only coverage for that specific test. When you see only the coverage for that test, any line that has a black marker m…