Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Still Problems with Impacted Tests detection

    Hi Albert, I'm sorry to hear that NCrunch embarrassed you in this instance. NCrunch's impact detection is based on IL-based comparisons with covered source lines. This system can work very well for some scenarios but does not work at all for reflection based situations, such as when you have …

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

    The paths of your local Nuget cache on your client machines will usually be under the user profile at C:\Users\USER\.nuget\packages, although this is also configurable. I would recommend clearing out this cache on all of your client machines and allowing Visual Studio to pull the packages down agai…

  3. NCrunch can't build my core2.2 solution

    Hi, thanks for sharing this problem. This is an error being raised by MSBuild when NCrunch tries to load the project file. Something is not right with the project.assets.json file inside the project's directory. Try deleting ALL the 'bin' and 'obj' directories for ALL your solutions while you h…

  4. Debugger visualizers not working anymore after update to 3.22.1

    There is a known problem in the current NCrunch build where the 'Break into test at this line' feature isn't always mapping its target line correctly for files that have just been edited. This will be fixed in the next version and it isn't related to the debug issues. The problem as you've descr…

  5. Reflection issue v3.22

    [quote=rodtan;12907]Yes, 'Copy referenced assemblies to workspace' is set to true for all projects.[/quote] Thanks for confirming this. Where we've experienced it before, this problem has been tied to the structure of the relevant .deps file inside your project's build output directory. Norm…

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

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

  8. 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? …

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

  10. VS 2019 support

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

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

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

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

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

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

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

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

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

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

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

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