Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
The FrameworkReference 'Microsoft.WindowsDesktop.App.WPF' was not recognized
[quote=Magbr;15050] it's fine that it expands to show new tests, but it also expands projects where there are no new tests. Which is quite tedious to close every time we edit an InlineAttribute. Which is quite often during parameterized integration testing..[/quote] Are you making use of any ran…
12 Nov 2020 23:24 UTC
-
Project using PostSharp builds in Visual Studio but not in NCrunch.
Hi, Thanks for sharing this issue. It looks to me like Postsharp are including a non-file string in the PDB symbol data. We haven't seen this before, but its probably legal as otherwise the runtime would throw it out. Hopefully this will be a simple fix on our side. We'll let you know as …
12 Nov 2020 23:19 UTC
-
Save all .cs files when debugging test with NCrunch
[quote=DeltaEngine;15019]Same here, just doing this quickly in a fresh VS without plugins, it doesn't happen. Only when writing for a longer time (might be hours of changes, sometimes after a few minutes) the debugger stops working once a breakpoint hits (you can't continue as VS says the source cha…
12 Nov 2020 10:13 UTC
-
Problem with dotnet 5
Thanks for sharing this issue. We've just identified a problem where the usage of the new property initialisers is causing the complier to emit an IL sequence that we aren't handling right with our instrumentation. We're working on a way to fix this now and hope to have it included soon in the n…
12 Nov 2020 08:41 UTC
-
The FrameworkReference 'Microsoft.WindowsDesktop.App.WPF' was not recognized
[quote=Magbr;15043] However this one is so annoying. I've noticed an additional thing. If I change the test code everything is fine. But if I change some param in an InlineData attribute that's when it happens. Have to scroll and close a lot of things down usually. Thanks![/quote] This one is b…
11 Nov 2020 23:25 UTC
-
Metrics Not Being Computed
Hi, thanks for sharing this issue. A few questions to try and figure out what is going on: - On the projects missing metrics, do you still have coverage markers? - If so, are the coverage markers aligned with the metrics being aggregated? - Does the metrics window still show the correct number…
10 Nov 2020 23:47 UTC
-
Save all .cs files when debugging test with NCrunch
Hi, thanks for sharing this. On a stock standard VS2019 installation with no plugins other than NCrunch installed, I cannot reproduce this behaviour. For example, if I change a source file, let NCrunch build it and run tests over it without saving, then try to break into a line by right clicking…
10 Nov 2020 02:43 UTC
-
Can't build any .Net Core 3 apps - "The targeting pack Microsoft.NETCore.App is not installed"
Hi, thanks for posting. Can you try reinstalling/repairing the x64 version of the .NET Core 3.1 SDK? It's possible that the installation has been corrupted somehow (we've had this ourselves before when updating VS).
05 Nov 2020 00:04 UTC
-
Analyse Assembly Failure
Hi Phil, Thanks for sharing this problem. The error described here is one kicked up by the engine when the test process disappears without warning and with no information available. Usually this is an install state issue (i.e. something is wrong in the configuration of the machine or somethin…
28 Oct 2020 23:18 UTC
-
Is it possible to list tests in code order, in the test window
Thanks, this makes sense. Could I interest you in adding this as a [url=https://ncrunch.uservoice.com]feature request on uservoice[/url]? This will allow us to track it and implement it if it's popular enough.
22 Oct 2020 23:55 UTC
-
Test method must be public
Thanks for the repro. It looks to me like the optimised test discovery is somehow passing the wrong test method downstream. I'll see if I can get this fixed. I recommend switching to the Legacy instrumentation mode as a workaround for this assembly for now.
22 Oct 2020 23:38 UTC
-
Is it possible to list tests in code order, in the test window
Hi, thanks for posting. At the moment, it isn't possible to do this. Could you elaborate on why you'd like to do it?
22 Oct 2020 11:28 UTC
-
Using NCrunch, FxCop Analyzers and “warnings as errors”: How to configure warning severity?
[quote=arthgg;15002][i]Repeat for all projects, then restart NCrunch engine. Now NCrunch builds.[/i] Is there a way to accomplish this more "globally" than adding the link to .editorconfig to every project? Thank you[/quote] Unfortunately not. I'll make a note to see if we can do this impl…
19 Oct 2020 23:44 UTC
-
Test run stops midway with "No data received... Forcing disconnection"
Do you have the logs and exported reports from this this run? I'd really like to take a closer look at how these tests are being reported. My understanding is that they should be reported with a 'Not run' status rather than ignored. If you could zip up the reports and logs and send them through t…
16 Oct 2020 23:24 UTC
-
Test run stops midway with "No data received... Forcing disconnection"
[quote=applieddev;14998] we have found that after restarting NCrunch server node, the issue doesnt reoccur for awhile is it possible for a long running NCrunch server node to run out of memory after many test runs?[/quote] The core node server is designed with the intention to run long term wit…
15 Oct 2020 10:30 UTC
-
Error running test that requires IsolatedStorage
Thanks for confirming. I've scoped a task to look at this issue to see if we can properly fix it. Keeping that setting adjusted is a sensible long term workaround, it's a feature most people never notice anyway and it actually already doesn't work for .NET Core..
15 Oct 2020 07:33 UTC
-
Error running test that requires IsolatedStorage
Ahh ... now THIS is making sense. NCrunch tracks the files accessed during a test run using an API hook, so that it knows which tests to mark as impacted if a resource file is changed. Apparently this API hook doesn't work properly when isolated storage is involved. Switch off the [url=https:…
15 Oct 2020 00:07 UTC
-
Test run stops midway with "No data received... Forcing disconnection"
Hi, thanks for sharing this issue. NCrunch has a hard coded timeout period of 60 seconds. If there is no data sent down the line for 30 seconds, a ping will be sent to ensure the connection stays open. For a node to disconnect in this manner feels like a network issue of some kind. What kind…
14 Oct 2020 13:41 UTC
-
Error running test that requires IsolatedStorage
[quote=MatthewSteeples;14990]That looks fine from what I can tell. It might be (because of continuous crunching) that it's run out of space or something like that instead. The line about adding the MyComputer Zone to the evidence is what's recommended. I'll keep digging.[/quote] Thanks. Sorry th…
14 Oct 2020 00:32 UTC
-
Error running test that requires IsolatedStorage
[quote=MatthewSteeples;14988]Hi Remco, does NCrunch load and execute the tests in an AppDomain at all? If so, it's potentially looking like a lack of "evidence" could be the problem. It looks like Isolated Storage uses the identity of the AppDomain to determine where to read and write data, so if th…
13 Oct 2020 03:55 UTC