Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
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…
22 May 2020 01:18 UTC
-
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…
21 May 2020 04:31 UTC
-
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 …
20 May 2020 06:25 UTC
-
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…
18 May 2020 23:05 UTC
-
Server location
The server for this website is hosted on AWS on the US east coast.
15 May 2020 07:46 UTC
-
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].
14 May 2020 23:29 UTC
-
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'">
10 May 2020 07:41 UTC
-
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 …
09 May 2020 23:32 UTC
-
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…
08 May 2020 00:38 UTC
-
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…
07 May 2020 23:40 UTC
-
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…
07 May 2020 13:14 UTC
-
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…
07 May 2020 00:32 UTC
-
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 :)
05 May 2020 00:03 UTC
-
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…
05 May 2020 00:00 UTC
-
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 …
04 May 2020 11:35 UTC
-
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 …
04 May 2020 11:32 UTC
-
Coverage percentage / Code not coverage
Have you tried the NCrunch Metrics Window? NCrunch->Metrics
29 Apr 2020 13:10 UTC
-
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…
29 Apr 2020 01:16 UTC
-
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?
29 Apr 2020 01:02 UTC
-
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…
29 Apr 2020 01:00 UTC