Forum member
NeilMacMullen
55 posts
Posts by NeilMacMullen
-
RDI fails to run tests involving ImmutableArray
Wow - fast work! Pleased to say I'm now seeing the reassuring green N circle indicating all tests are passing :-) Haven't yet played with RDI in much detail but will try it out next week and report any issues found.
07 Mar 2024 09:48 UTC
-
RDI fails to run tests involving ImmutableArray
Thanks! This has made a very significant improvement. Test failures down to 7 from 75. All ImmutableArray and "unable to obtain meaninful result" errors are now gone. The only ones left are the "key ... was not present in the dictionary". These tests (in our codebase) are heavily async. We'l…
06 Mar 2024 17:20 UTC
-
RDI fails to run tests involving ImmutableArray
Thanks nextPIM. I wonder if my assumption that these are all the same root cause is incorrect. We use a lot of immutable arrays in our code and the set of failing tests seemed to be related to those but possible the second failure mode (which matches yours) is caused by something else.
05 Mar 2024 16:06 UTC
-
RDI fails to run tests involving ImmutableArray
First of all congrats on the release of 5.0 - _really_ impressed with the promise of RDI :-) Unfortunately in our codebase we seem to be encountering problems related to the use of ImmutableArrays Errors fall into three categories (quite possibly with the same root cause...) [quote]Syste…
05 Mar 2024 13:45 UTC
-
Unable to hash type 'Code' due to exception: System.NotSupportedException: Unknown element type: Var
Great job - thanks !
25 Jan 2024 11:22 UTC
-
Unable to hash type 'Code' due to exception: System.NotSupportedException: Unknown element type: Var
Unfortunately we're also experiencing this issue (still present with 4.19.08, VS2022).
22 Jan 2024 15:53 UTC
-
Stuck at "ncrunch engine is initialising"
>Even better workaround: you may disable the preview feature: Thanks so much - tried this on preview 6 and it seems to do the trick.
05 May 2022 11:20 UTC
-
Tests permanently show as "running (first time run)"
Super - look forward to it :-)
11 Apr 2022 13:18 UTC
-
Tests permanently show as "running (first time run)"
Thanks. Yes I think the most serious "issue" here is really just that the main Ncrunch icon color made it appear that all the tests were still running and passing; hence it was a couple of months before I noticed the problem (I usually filter to only failed tests in the test window). Hopefully tha…
08 Apr 2022 09:40 UTC
-
Tests permanently show as "running (first time run)"
Looks like switching UseCpuArchitecture to x86 (from x64) clearing caches and and reloading ncrunch resolves the issue. :-)
07 Apr 2022 16:15 UTC
-
Tests permanently show as "running (first time run)"
Changing the filter doesn't make a difference but I think you are right that the UI is out of step with the actual state. None of the listed processes that have a "running" sub-row are actually present. I did notice that there are some errors present though which probably are a clue.... As a …
07 Apr 2022 12:50 UTC
-
Tests permanently show as "running (first time run)"
Thanks Remco. >Can I safely assume that the tests stay this way forever (i.e. they never time out, even if left for 15+ minutes)? Correct >Can you check the processing queue to see if the tasks involved have kicked up any errors? All jobs in the Processing Queue window show "complete" …
06 Apr 2022 13:53 UTC
-
Tests permanently show as "running (first time run)"
I have some tests which are behaving oddly... [url=https://sensizenet-my.sharepoint.com/:i:/g/personal/neil_macmullen_sensize_net/ER7tEQHt0TBGmiNlJAoHy0ABy2uUQlHxDMUL26L1Vh-XnQ?e=jTaXIW]Screenshot of Ncrunch tests window[/url] Status shows... [url=https://sensizenet-my.sharepoint.com/:i:/g/pers…
06 Apr 2022 12:36 UTC
-
Stuck at "ncrunch engine is initialising"
This is also what I saw in this thread... https://forum.ncrunch.net/yaf_postst3195_VS2022--17-1-0--Preview-2-0-appears-to-break-Ncrunch.aspx The behaviour has definitely "come and gone" across different preview versions. At the moment I've reverted to the non-preview of VS2022 which appears to wo…
21 Feb 2022 12:11 UTC
-
Possible error in GetToolPath
>I'm not sure how this worked under Net5, as technically I would have thought it shouldn't. I think I was probably conflating the migration to Net6 with a move to a new dev machine. It turns out that the project did build and test on the old machine because it had an old x86 Net5 SDK installed.…
28 Jan 2022 10:46 UTC
-
Possible error in GetToolPath
I have a C# test project that uses a managed 32bit C++ dll. As a result, the csproj file contains this... [quote]<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PlatformTarget>x86</PlatformTarget> </PropertyGroup>[/quote] This worked fine when I was target…
27 Jan 2022 16:57 UTC
-
VS2022 (17.1.0) Preview 2.0 appears to break Ncrunch
FWIW -found an existing problem report for the initial VS error dialog... https://developercommunity2.visualstudio.com/t/MicrosoftVisualStudioTestToolsTestCa/1629868?entry=problem&ref=native&refTime=1641900718712&refUserId=b1aba330-77c2-4c84-914c-dbf0242dada6
11 Jan 2022 11:33 UTC
-
VS2022 (17.1.0) Preview 2.0 appears to break Ncrunch
>In the interests of wanting to avoid investigating issues that we likely can't do much about, I would prefer to wait until this iteration of the IDE is more stable Yes, completely understand :-) I'll probably roll back to VS2019 for now...
11 Jan 2022 11:30 UTC
-
VS2022 (17.1.0) Preview 2.0 appears to break Ncrunch
Yes, there's a solution file open (with 188 projects). It may be relevant that when I open this solution the Processing Queue window doesn't even show the "loading X projects" spinner (icon popup dialog is stuck on "Ncrunch engine is initialising") I've submitted a second bug report from this stat…
11 Jan 2022 11:24 UTC
-
VS2022 (17.1.0) Preview 2.0 appears to break Ncrunch
I've submitted a bug report. The UI behaviour is that the Ncrunch icon indicates "initialising" but no items are seen in the processing queue. If I then do a VS build, the icon changes to green but indicates that no tests were found (again, the processing queue remains empty).
11 Jan 2022 11:08 UTC