Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Azure Function : build issue

    Hi, thanks for sharing this issue. Unfortunately, the Azure platform (and its function projects) is not supported by NCrunch. I'm afraid that I can't offer any workaround to this problem. It looks like Azure function support is a [url=https://ncrunch.uservoice.com/forums/245203-feature-reques…

  2. Howto disable analysis task

    [quote=samuelhess1;13632] Before using xUnit, I consulted https://www.ncrunch.net/support/frameworks. Maybe it is a good idea to add a hint on ncrunch runtime perforamance for the single test frameworks. This might help others no not learn it the hard way as I diD.[/quote] I'd like to do this, a…

  3. Howto disable analysis task

    [quote=samuelhess1;13624] I assume there is no way to accelerate the analysis task other than using a more powerfull computer or distributed processing. Is that correct?[/quote] Distributed Processing will be of very limited help here, because we presently don't distribute the analysis task in t…

  4. NCrunch locks DLLs

    Hi, thanks for sharing this issue. The problem here isn't actually NCrunch; it's the .NET runtime. Packages that are referenced using Nuget are now stored in a global location (under the user profile) and the correct procedure for loading them is to do so from this location. In earlier versio…

  5. Howto disable analysis task

    Hi, thanks for posting. The analysis task is a test discovery action. It involves creating a runtime environment (i.e. launching your code using the CLR and loading the assembly), then asking the test framework for details about the tests contained in the assembly. There is no relationship betw…

  6. Build issues - cannot find version of tons of files

    Thanks for sending through the sample solution. Using the code you've provided, I've managed to reproduce and isolate the issue. The problem is being caused by the Microsoft.Net.Compilers package. This package redirects MSBuild to use a different version of the CSharp compiler. For some reason…

  7. Slow unit test runs forever

    [quote=devdept;13613]Thanks Remco, we have 2400 *.cs file in our solution, shall we check manually each one or is there a better way to follow these yellow marks?[/quote] Start from the top of the stack, inside your test code. You can follow the yellow markers down through your code. This will …

  8. Slow unit test runs forever

    Something you can try is adjusting the [url=https://www.ncrunch.net/documentation/reference_global-configuration_performance-display-sensitivity]performance display sensitivity[/url] setting to something a bit higher. You can tweak this so that it only shows yellow markers on lines of code that are…

  9. NCrunch and GitVersion

    Hi Tim, Thanks for sharing this issue. Does setting your 'Instrument Output Assembly' setting to 'False' for the assemblies involved make any difference here? Are you making use of InternalsVisibleToAttribute anywhere in your code?

  10. Build issues - cannot find version of tons of files

    Thanks for providing these extra error details. Three years ago a dump of the error messages and a build trace log were often enough to resolve assembly reference issues such as this, but sadly MS have recently piled so much complexity into the build system that it's now almost impossible to anal…

  11. Build issues - cannot find version of tons of files

    Hi, thanks for sharing this problem. To better understand this I'll need to get a bit more information on what is happening inside your build system. Are you able to produce this problem in a sample project that you can share with me? Are you able to make it happen outside the solution you're…

  12. Frequent FileLoadException when running tests that call into modified assembly

    Hi, thanks for sharing this issue. Looking at the version number of the project, is it possible that this version number is being automatically incremented or somehow changed on each build? If so, does disabling the auto increment help? Another thing to check is whether you have the [url=http…

  13. Ignored NUnit tests no longer showing up with "Show Ignored Tests" enabled

    [quote=scott_wi;13598] Wow, I must be mis-remembering, because I feel like I've used that behavior before in several projects. But it's entirely possible I was using NCrunch's ignore feature then. [/quote] Understood :) In hindsight, we should have called the feature something else. Maybe 'sup…

  14. "Deterministic builds only support portable PDBs" in F# project

    Hi, thanks for sharing this issue. NCrunch in its current form doesn't support working with portable PDB files. We're working on a solution to this, but it's a very big task. So right now, it forces your build system to use 'Full' PDBs instead. This clashes with deterministic builds. The …

  15. Ignored NUnit tests no longer showing up with "Show Ignored Tests" enabled

    Hi Scott, Thanks for posting! Since its first public version, NCrunch has always completely discarded and ignored any test that declares NUnit's [Ignored] attribute. The 'Show Ignored Tests' button in the Tests window is intended for a different kind of 'ignored' status (which sadly suffers f…

  16. Debugger visualizers not working anymore after update to 3.22.1

    [quote=tasoss;13592]I would like to ask you if it's normal ,that while debugging, i step into nunit's(using step over (F10)) framework code? Can i somehow disable it? Thanks![/quote] Hi! This isn't controlled by NCrunch. It's possible you have an IDE/debugger setting turned on that is doing t…

  17. Load failure for .NET Core cs projects without Sdk attribute in Project element

    Hi, thanks for sharing this problem in such great detail. The code has been assuming that a project element cannot stand on its own (it was actually written long before the Sdk attribute was even a thing). I've had a go at implementing a fix. Would you like to try the build below to see if th…

  18. new tests in file not being picked up by NCrunch

    Hi, thanks for sharing this issue. I've had a look through the report your submitted and didn't see anything going obviously wrong inside the engine (no errors, looks like normal function). I think the first thing we should do is clear ALL of your NCrunch configuration to see if this makes any…

  19. Slow unit test runs forever

    [quote=devdept;13582] No bottlenecks in the NCrunch instrumentation, in other words where to place these: https://www.ncrunch.net/documentation/concepts_code-coverage-suppression [/quote] Right now the best way I can suggest is to follow the yellow markers. Start from the top of the stack (at …

  20. Netstandard test helper project cannot reference xunit.extensibility.core

    [quote=tiesmaster;13576]Thanks! That did the trick. It's a pity I need to configure this project manually (and commit the ncrunch project file), but it gets the job done ;)[/quote] Understood. My preference here would have been to automagically handle it (as we do with most things), but because …