Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
ApprovalTest
Hi, thanks for posting. This problem is caused by the approvals tests output files being implicitly included in the project file. When approvals creates the files, this changes the list of files included in the project, forcing NCrunch to reload it. If you have the engine set to run all tests a…
19 Mar 2021 23:00 UTC
-
PDB Format is truly a nightmare
Yes. Yes it absolutely is!!! At least, the old Win32 PDBs are. The new portable PDBs introduced with .NET Core are a much cleaner design and are much easier to work with. The main problem with the old PDBs is that they were clearly only ever intended to be an internal format. It's generally…
17 Mar 2021 08:44 UTC
-
Visual studio preview 16.9.4 breakage
It's looking likely that MS backed out or otherwise adjusted how this works in the RTM build. If anyone finds a way to produce this problem using the RTM build of VS, please let us know.
05 Mar 2021 00:01 UTC
-
Visual studio preview 16.9.4 breakage
[quote=michaelkroes;15359] I've been trying to reproduce this but no luck yet. Could any of you commit a small test project to github (or a zip file somewhere) that reproduces this for you? [/quote] You can submit small ZIPs with sample code through the [url=https://www.ncrunch.net/support/cont…
04 Mar 2021 21:15 UTC
-
Visual studio preview 16.9.4 breakage
We're working a on a fix for this now and hope to have it ready soon.
04 Mar 2021 11:18 UTC
-
Install Console Tool Within Docker Container
Hi, thanks for posting. I'm sorry to say that we do not support Docker in any shape or form under NCrunch. NCrunch has a long development history on the Windows platform and makes extensive use of O/S service calls with deep integration with the OS. Presently I do not see such support being add…
26 Feb 2021 23:32 UTC
-
Solution Filter
Hi Micha, Thanks for posting. We can't support this feature, because its function is to prevent VS from loading projects that we need to be able to build and load into an environment in which to run your tests. Sorry.
25 Feb 2021 23:07 UTC
-
Referencing assemblies within the build output
Hi, thanks for sharing this issue. As you've noticed, this warning is a false positive. Your setup project is likely structured so that the reference files are being copied to the same output directory as would normally be occupied by the assembly built for this project. If you're using the sta…
23 Feb 2021 07:21 UTC
-
System.Exception: Framework already initialised
Hi, thanks for sharing this problem. I think this is a downstream exception. Could you submit a bug report after you've had this happen? The log file may reveal what went wrong further upstream.
22 Feb 2021 23:02 UTC
-
Log chunk is too large
Hi, thanks for sharing this issue. This is caused by the new logging system. It seems to be possible for the NUnit output to be extremely large for some projects. Could you try the build below to see if this solves the issue for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunc…
20 Feb 2021 03:21 UTC
-
SourceGenerator
Hi Dirk, Last month we did an assessment of the Roslyn based source generators to see if we could find a way to support them ([url=https://forum.ncrunch.net/yaf_postst3058_Support-for-C--source-generators.aspx]see here[/url]). Unfortunately, the platform is not yet ready for us to integrate wi…
19 Feb 2021 23:29 UTC
-
System.Diagnostics.Contracts cause all related tests to fail
We've had an internal discussion on this after a deep look at what is happening here. We cannot support code contracts under .NET Core. The system wasn't designed for background testing and will always terminate the test process when a condition fails. There are no hooks in this process for us …
18 Feb 2021 23:06 UTC
-
NCrunch was unable to retrieve a meaningful result from this test due to an unexpected error...
[quote=Tonyh;15323]Also having the same result, but with a different cause in a .net 5 solution. Also tests run in R# OK When try to run tests in debug mode get "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." message. [/quote] Can you…
14 Feb 2021 06:15 UTC
-
bUnit + xUnit Razor tests failing
Hi, thanks for sharing this issue. This problem is caused by a compatibility issue between NCrunch and bunit. Basically, bunit changes some of the behaviour around how the test run is handled and the results are reported. Presently, we do not have support for this framework. Adding support wou…
11 Feb 2021 23:20 UTC
-
Visual studio preview 16.9.4 breakage
Excellent :) We'll look at rolling in a proper fix for this when this build of VS gets closer to RTM.
11 Feb 2021 10:46 UTC
-
Visual studio preview 16.9.4 breakage
Hi, thanks for the heads up. Could I just check if including the file in the 'Additional files to include' suppresses the issue?
10 Feb 2021 23:10 UTC
-
Automatically run impacted tests without automatically running all tests
[quote=distilled;15311] Yep, I can confirm that that's what I'm seeing. I guess in my experience the file hash very rarely matches what NCrunch has cached, and most of the time when I launch VS I need to quickly disable NCrunch or tell it to ignore everything so that it doesn't try to start running…
08 Feb 2021 03:59 UTC
-
Automatically run impacted tests without automatically running all tests
Hi, thanks for posting. If you're using the 'Run impacted tests automatically, others manually' mode, NCrunch should only run tests when it detects that they are impacted by IL-level changes in your code. This includes after the engine is started. NCrunch does this by storing the hash state o…
06 Feb 2021 22:56 UTC
-
Ignore test projects based on target frameworks
Hi, thanks for posting. The easiest way I can think of doing this is to introduce assembly-level category attributes in your test project which are controlled by framework-specific compile switches. For example: #if NETCOREAPP2_2 [assembly: NCrunch.Framework.Category("NetCore2_2")] #endif…
06 Feb 2021 22:37 UTC
-
Permissions.SecurityPermission
Hi Daniel, Thanks for sharing this issue. I'm not aware of anything in NCrunch that could directly cause this problem. The test environments we create default to full trust, and this looks like the kind of exception that could be thrown from partially trusted or constrained code. Does this…
03 Feb 2021 23:25 UTC