Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. System.ArgumentException: An item with the same key has already been added.

    [quote=Silvenga;12909] I have no idea how this netcoreapp even built - there wasn't even a warning... I was under the impression that netcoreapp can never reference a net4** project, yes netstandard2.0, but not netcoreapp.[/quote] This is also puzzling for me. I suppose it's possible the refere…

  2. Support for VS 2019?

    Hi, To avoid drowning in VS releases, we have a policy of introducing support for a new version only in the late stages of RC.

  3. Debugger visualizers not working anymore after update to 3.22.1

    Hi Florian, Have you noticed that there are certain regions of code that work within the file, but other regions that don't? It may be something to do with the structure of the PDB file that has been rebuilt by NCrunch. Which version of .NET are you using in the projects that are failing? …

  4. Debugger visualizers not working anymore after update to 3.22.1

    Hi, thanks for sharing this issue. There haven't been any changes to NCrunch's debugger integration or anything PDB related for a good many versions now, so this is probably an unrelated breakage. When you talk about debug visualizations, what do you mean? Is this the analysis of variable too…

  5. VS 2019 support

    To avoid drowning in VS releases, our general policy is to try to add support in the late RC stages.

  6. NCrunch.exe reports test failure with "old" NUnit fixture "failures"

    Thanks for sharing this issue. So I see two problems here. The first is that we're reporting old cached data inside the HTML run report. Normally, the run report should include old results under 'Show tests not run'. This is because when the engine loads up the solution, it immediately flags…

  7. System.Web.HttpException : Session state can only be used when enableSessionState is set to true,

    Hi Ed, My knowledge of ASP.NET in this area is quite dated, so I'm not sure how much help I can be directly on this. I'm not aware of anything the test runner specifically needs to do in order for the Session to be active ... I was under the impression that these sorts of things were usually arr…

  8. console: NCrunch Execution Run Results time in UTC?

    Thanks, I've noted this down to be adjusted :)

  9. Reflection issue v3.22

    Hi, thanks for sharing this issue. Yes, v3.10 did fix the issue. Unfortunately the fix is a moving target, and MS do release new versions of .NET Core all the time. I'm not going to rule out the possibility that it has been rebroken due to platform level changes, or that there is an edge case t…

  10. NCrunch.exe "Code members in new coverage for test "

    This error is the result of an internal consistency check performed when merging code coverage results into NCrunch's coverage database. The check basically verifies that the sequence of source files in the code coverage result is consistent with the sequence of source files in the build output. …

  11. Re-run specific tests

    [quote=samholder;12879]I solved this problem by collecting the failed tests via the TC HTTP API in a powershell script and then parsing out the names and creating a piece of text which matches NCrunchs definition for running specific tests like so: (FullNameMatchesRegex 'failed test 1' OR FullNam…

  12. How are tests scheduled on the Grid Nodes?

    If I understand this question correctly, the major issue here is the prioritisation of fast vs slow tests. Because the 'smoke' test generally has a longer running time than the 'core' tests, it is given a lower priority. This means you would expect it to sit at the bottom of the queue for a give…

  13. "Unable to write to file while transferring snapshot to node: some-nuget-package-dll"

    [quote=Argamon;12881] [i]NCrunch was unable to write to the file at C:\TFS\Snapshots\.nuget\AutoFixture.Idioms\4.5.0\[b]libet452[/b]\AutoFixture.Idioms.dll when trying to transfer data to the grid node server. [/quote] This looks very suspect to me. NCrunch doesn't perform any kind of proces…

  14. Ensure test resource is initialized with parallel testing?

    [quote=GreenMoose;12882] Suppose I have gridnode1, which is used by runner console1 and console2 that may run simultaneously. Will ExclusivelyUsesAttribute ensure that console2 waits for console1 to stop using the resource, if they are both using gridnode1?[/quote] Yes :) The list of used re…

  15. System.ArgumentException: An item with the same key has already been added.

    Thanks for sending through the bug report. The problem here seems to be coming from a Common project that is being multi-targeted. Somehow, at least one of your test projects has a dependency chain that includes two different multi-targeted instances of this Common project. So in the actual tes…

  16. System.ArgumentException: An item with the same key has already been added.

    [quote=Silvenga;12876]Actually, kind of. The testing assembly having the issue is a .NetCoreApp application referencing a .NetStandard 2.0/.NetFull 3.5 project. I can submit a bug report, how would I do that?[/quote] There's an option in the 'NCrunch' menu for 'Submit Bug Report'. This sends thr…

  17. System.ArgumentException: An item with the same key has already been added.

    Are any of your assemblies multi-targeted at all? Note that later versions of project files actually have an implicit AssemblyName (it doesn't need to be specified in the file), but I expect that if you had two files under the same name, you'd probably know about it. It's possible there's somethin…

  18. "Unable to write to file while transferring snapshot to node: some-nuget-package-dll"

    The problem is caused by developer's machines having binary differences between the Nuget packages in their Nuget package cache directories (i.e. C:\Users\[My Name]\.nuget\packages). Since Nuget moved to using a user/global package cache for packages being referenced in a solution (i.e. no longer…

  19. System.ArgumentException: An item with the same key has already been added.

    Hi, thanks for sharing this issue. This appears to be caused by two projects in your environment having the same assembly name. Does this appear to be the case with your solution?

  20. "Unable to write to file while transferring snapshot to node: some-nuget-package-dll"

    [quote=Spielosoph;12865]Hello, we have the same problem with the grid node server. Server and clients have v3.22.0.1. It seems the grid node server has problem with Nuget package references (Not the old way with the packages.config). Many developers use the same grid node servers. Only on…