Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
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…
05 Jul 2019 00:02 UTC
-
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…
29 Jun 2019 00:10 UTC
-
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…
27 Jun 2019 22:07 UTC
-
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…
27 Jun 2019 22:02 UTC
-
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…
27 Jun 2019 07:49 UTC
-
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…
25 Jun 2019 07:06 UTC
-
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 …
25 Jun 2019 06:16 UTC
-
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…
25 Jun 2019 01:21 UTC
-
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?
21 Jun 2019 22:23 UTC
-
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…
21 Jun 2019 13:01 UTC
-
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…
19 Jun 2019 21:23 UTC
-
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 Jun 2019 23:43 UTC
-
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…
18 Jun 2019 00:46 UTC
-
"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 …
18 Jun 2019 00:43 UTC
-
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…
18 Jun 2019 00:32 UTC
-
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…
14 Jun 2019 23:28 UTC
-
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…
14 Jun 2019 01:36 UTC
-
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…
12 Jun 2019 22:58 UTC
-
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 …
12 Jun 2019 22:47 UTC
-
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 …
12 Jun 2019 00:06 UTC