Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
The type initializer for 'ExtentPlaceholderCreator' threw an exception
[quote=Albatross;14146]The same error is shown when running with NUnit. I have tried uninstalling the SQL Server 2012 updates that were installed on Monday, but that has not fixed the problem. My guess is that an update has caused the issue as there have been no code changes since it was last …
28 Nov 2019 00:20 UTC
-
Font Messed Up
Thanks for this extra info. We did introduce the user defined colors specifically to work around problems like this, as the IDE does have quite a bit of complexity around this area and it isn't always possible to cater for all scenarios. It's possible something is wrong/different with your IDE its…
28 Nov 2019 00:18 UTC
-
New Ncrunch v4.0 execute tests with category not allowed
[quote=Nicolas;14147]Dosen't seems to fix the problem, sadly...[/quote] Could you check whether the categories are now showing in the Tests Window for the tests that are declaring this using the fixture-level attribute? I tried testing this using the code sample you provided, and it seemed to be…
28 Nov 2019 00:12 UTC
-
The type initializer for 'ExtentPlaceholderCreator' threw an exception
Hi, thanks for sharing this problem. Do you also receive this error when running your tests using anything other than NCrunch?
26 Nov 2019 22:38 UTC
-
IpcConnectionClosedException: The connection has been closed
Hi, thanks for sharing this issue. I've reproduced it using your sample and concluded that it seems to be triggered by the specification of a win10-x64 RuntimeIdentifier in the targeted project. I'm not yet sure why this is the case. We're going to need to do more digging. We'll let you know w…
26 Nov 2019 22:35 UTC
-
New Ncrunch v4.0 execute tests with category not allowed
Could you try the build below and let us know if this solves the issue? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.2.0.2.msi]NCrunch_Console_4.2.0.2.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.2.0.2.zip]NCrunch_Console_4.2.0.2.zip[/u…
26 Nov 2019 22:21 UTC
-
Font Messed Up
Hi, thanks for sharing this issue. Is this problem consistently reproducable on your machine? If so, is there any chance you could get it to happen (using the defaults for the font colors) then submit a bug report? NCrunch usually tracks your colour configuration and should adjust this automati…
26 Nov 2019 22:20 UTC
-
Two TargetFrameworks doubles TestCount?
Hi, thanks for sharing this. Can you confirm whether you are actually seeing the tests being duplicated inside the Tests Window under the two target frameworks, or is this just the total number that is increasing? Note that the number of tests queued for execution can exceed the total if tests…
26 Nov 2019 22:18 UTC
-
NCrunch 4 - optimized instrumentation - BadImageFormatException for x64 for F# project
Thanks again for reporting this issue. I'm sorry it's taken so long to organise a fix, but the build below should hopefully resolve this for you: [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.2.0.2.msi]NCrunch_Console_4.2.0.2.msi[/url] [url=https://s3.amazonaws.com/downl…
26 Nov 2019 01:50 UTC
-
NCrunch 4 - Instrumentation Mode - Optimized - "The name [x] does not exist in the current context"
We've got to the bottom of this issue. The build below contains a fix if you're willing to give it a try: [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.2.0.2.msi]NCrunch_Console_4.2.0.2.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.2.0.2…
26 Nov 2019 01:48 UTC
-
NCrunch 4 - Optimized mode - Debugging tests is mission impossible?
The build below includes fixes for all known debug problems with NCrunch V4 under optimised mode. Can everyone with issues here please give this a try and let me know if all is well? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.2.0.2.msi]NCrunch_Console_4.2.0.2.msi[/url]…
26 Nov 2019 01:46 UTC
-
Using generic ActionResult from aspnet core 3.0.0.0 results in build failure
Thanks! We're looking at this now and will get back to you soon.
26 Nov 2019 00:11 UTC
-
NCrunch 4 - Optimized mode - Debugging tests is mission impossible?
[quote=tomtrias;14125] If I inspect "item" in the second "foreach", I am seeing the value for "item" from the previous "foreach" scope. I have verified that using other unit test runners to debug does not have this issue.[/quote] Thanks for sharing this. This problem is an old existing one cau…
25 Nov 2019 23:58 UTC
-
Using generic ActionResult from aspnet core 3.0.0.0 results in build failure
Thanks for sharing these extra details. We haven't knowingly fixed this issue in v4.1 (the generic class exception was something else). Is there any chance you could ZIP up your sample project that reproduces the problem and send it through the [url=https://www.ncrunch.net/support/contact]NCrunc…
22 Nov 2019 22:43 UTC
-
Using NCrunch, FxCop Analyzers and “warnings as errors”: How to configure warning severity?
Hi, thanks for posting. It's possible that NCrunch just isn't copying the .editorconfig file into the workspace used for building your project. Do you have this file included in your .csproj? If not, does including it make any difference?
21 Nov 2019 23:09 UTC
-
NCRUNCH 3.28 - High memory usage, frequent System.OurOfMemoryExceptions
[quote=LawrenceShort;14111]The problem we are receiving with NCrunch restarting all tests from the beginning every time we restart a machine, could this be caused by not having the memory available to load up the code coverage data?[/quote] I strongly suspect it might. Once OutOfMemoryExceptions…
20 Nov 2019 10:00 UTC
-
NCRUNCH 3.28 - High memory usage, frequent System.OurOfMemoryExceptions
[quote=LawrenceShort;14109] That's where I was heading with my assumptions. I've been looking at the CI build as this is the area that is really hampering our process and have found that if I turn off the InstrumentOutputAssembly setting then the console tools memory usage drops considerably. Which…
20 Nov 2019 09:48 UTC
-
Framework 4.6.2 project failing to build using optimised instrumentation mode
Thanks for these extra details. I'm working on a speculative fix for this and will let you know as soon as a build is available.
20 Nov 2019 07:08 UTC
-
NCRUNCH 3.28 - High memory usage, frequent System.OurOfMemoryExceptions
Thanks for sharing all this detailed information. Given everything you've provided, I think I can firmly conclude that the problem here is caused by the size of NCrunch's in-memory code coverage database, which is held inside the engine host process. The coverage database is the most complex are…
20 Nov 2019 03:52 UTC
-
Uningore all referenced projects
Hi, thanks for posting. Working with gigantic solution spaces is still a bit of a problem in NCrunch. To build test environments, NCrunch needs to have every relevant project in a dependency tree be loaded and built. This greatly limits our ability to work on only a subset of projects in a solu…
19 Nov 2019 22:39 UTC