Forum member

NeilMacMullen

55 posts

Posts by NeilMacMullen

  1. 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.

  2. 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…

  3. 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.

  4. 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…

  5. Unable to hash type 'Code' due to exception: System.NotSupportedException: Unknown element type: Var

    Great job - thanks !

  6. 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).

  7. 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.

  8. Tests permanently show as "running (first time run)"

    Super - look forward to it :-)

  9. 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…

  10. 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. :-)

  11. 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 …

  12. 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" …

  13. 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…

  14. 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…

  15. 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.…

  16. 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…

  17. 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

  18. 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...

  19. 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…

  20. 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).