Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Xamarin support

    Hi, thanks for posting. Currently we have no plans to implement support for Xamarin, as the demand for this simply isn't enough to justify the size of the work. Xamarin support would be major project and it would involve putting everything else on hold. Be sure to add your [dead link] if you ha…

  2. NServiceBus-related build issue

    Hi, thanks for sharing this issue. Could you try the following? 1. Create an empty text file inside the solution directory in your solution (not in the NCrunch workspace) 2. Go to the 'Additional files to include' NCrunch solution-level setting 3. Add the empty text file 4. Wait for the eng…

  3. Building precompiled C# Azure Function fails

    [quote=Goran;13648][quote=jmarbutt;11425]Yeah I just paid to upgrade my ncrunch hoping this was fixed, I wouldn't of upgraded without this. :([/quote] Same here - any ETA on support a year later?[/quote] Sorry, we haven't [url=https://www.ncrunch.net/support/frameworks]published that any suppor…

  4. Poor ncrunch behaviour when test duration changes dramatically

    [quote=davetorutek;13644]In my case the 'tests' are like in the linked example, really just one test with a parameter, making 100s of tests. Looks like the InclusivelyUsesAttribute hack doesn't work in this case as they are all the same test with the same InclusivelyUsesAttribute value.[/quote] …

  5. Poor ncrunch behaviour when test duration changes dramatically

    Hi, thanks for posting! It's hard for NCrunch to know what to do here, because it has no way of knowing what the 'normal' execution time is. The option would be to apply some extra metadata to the test so that it always gets separated into its own batch. If you make use of NCrunch's [url=ht…

  6. 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 [dead link]. It's entirely possible that someone in the comm…

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

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

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

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

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

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

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

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

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

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

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

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

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

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