Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
test runner process reuse
Hi Johan, thanks for posting again. Your analysis of this makes sense. NCrunch has a concept of a 'process pool' in which processes are stored between execution runs. Each process in the pool has a specific signature derived from a range of important variables (such as the project itself, isola…
05 Jul 2017 12:57 UTC
-
The project currently contains references to more than one version of <AssemblyName>
Hi Dan, Thanks for sharing this issue. It may be difficult to recreate the mechanics involved here to get a clear picture of exactly how the build system is arriving in this situation, but I would guess that having an assembly version that changes on every build is probably causing some dependen…
05 Jul 2017 12:43 UTC
-
Console runner passes all tests, but returns failure
Hi, thanks for sharing this. Is it possible that your solution includes a project that NCrunch doesn't support and isn't required for your tests? This is probably a stupid question, but does the HTML report show any build failures? If you like, you can upload the log file using the [url=https…
05 Jul 2017 00:02 UTC
-
NCrunch doesn't use the 4.6.2 engine host
Hi Rupert, When creating a test environment, NCrunch will always use the version of .NET targeted by the test project. This means that if you have a test project targeting .NET v4.6.2, you will need to have .NET v4.6.2 installed. NCrunch detects v4.6.2 by inspecting the "HKLM\SOFTWARE\Microso…
03 Jul 2017 23:21 UTC
-
NCrunch runs fine in VS 2017.2 and breaks in VS 2017.3 (preview 3)
Hi, thanks for sharing this. This is a known problem at the moment. NCrunch support doesn't include the VS2017 preview builds right now, as MS are making changes to the dependency system in there. I'll be extending support closer to RTM as time allows.
03 Jul 2017 23:15 UTC
-
Tests utilising Microsoft.AspNet.TestHost i.c.w. MVC Views fail in NCrunch
[quote=jp7677;10732]Hi there, thanks for version 3.10.0.6. Unfortunately my second issue reported here (posting #8) is not yet fixed on my machine with that version.[/quote] Sorry, I should have clarified this. For the fix to work, you'll need to turn on the 'Copy referenced assemblies to worksp…
03 Jul 2017 09:53 UTC
-
.net core app vs .net 4.5 for test projects, performance difference?
This is an interesting question. I haven't yet done any performance testing between these two runtime environments using NCrunch, so at the moment I'm not well informed enough to say which one will execute tests faster. In terms of reliability, I would err towards .NET Framework for the simple r…
30 Jun 2017 11:21 UTC
-
In Test window, Server column for grouping rows doesn't correctly reflect child tests.
[quote=Grendil;10726]Not sure if my last, long reply went through, I think the forum software ate it, probably for the best. :) [/quote] Ouch, sorry :( [quote=Grendil;10726] The short version is that I think the UI tree views would be more intuitive if columns on grouping rows always showed d…
30 Jun 2017 00:38 UTC
-
In Test window, Server column for grouping rows doesn't correctly reflect child tests.
Hi, thanks for sharing this. There is actually some relevance to this column, though in most scenarios this won't be obvious at all. When distributing builds, NCrunch will run a build on every machine in the grid. Most of the results that are reported in the Tests Window for each project (i.e…
29 Jun 2017 22:47 UTC
-
Ncrunch is in a corrupted state.
[quote=mjfreelancing;10722]I had a similar issue after installing VS2017 and trying to update to v3.9 NCrunch failed to run in both VS2015 and VS2017 I have no idea but I repeated the process below several times (for repeatibility before reporting) and my NCrunch has been working ever since. …
29 Jun 2017 22:21 UTC
-
Tests utilising Microsoft.AspNet.TestHost i.c.w. MVC Views fail in NCrunch
Sorry for the wait. Here's the latest fix. [url=http://downloads.ncrunch.net/NCrunch_Console_3.10.0.6.msi]http://downloads.ncrunch.net/NCrunch_Console_3.10.0.6.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.10.0.6.zip]http://downloads.ncrunch.net/NCrunch_Console_3.10.0.6.zip[/url…
29 Jun 2017 07:43 UTC
-
Ncrunch is in a corrupted state.
[quote=nrhoffmann;10719][url=https://drive.google.com/file/d/0B50v-QpanKhDWVo0X29odWRDUDg/view]globalconfig.crunch.v3.xml[/url][/quote] Perfect, thanks!!!
28 Jun 2017 23:01 UTC
-
Ncrunch is in a corrupted state.
[quote=nrhoffmann;10717][b]That was it![/b] [/quote] Yikes! Ok, I'm glad we found this, but I'm not so happy about that experience. Firstly, the config file shouldn't get corrupted in a way that would prevent NCrunch from loading. Secondly, if it were corrupted, NCrunch should fall back w…
28 Jun 2017 22:37 UTC
-
Ncrunch is in a corrupted state.
I've been running through the initialisation code to try and get a better understanding of this problem. Since you were at least able to submit a bug report, it appears as though at least part of NCrunch is initialised. I'm wondering if we could try a reset of NCrunch's global configuration file. …
28 Jun 2017 05:07 UTC
-
Ncrunch is in a corrupted state.
It doesn't look like there's anything here that would actively prevent the package from being loaded. Can you try running "devenv.exe /log c:\vslog.log" and copy/paste the contents of the log file? Perhaps VS can tell us something useful here.
28 Jun 2017 04:43 UTC
-
Build error with basic .NET Standard class library
[quote=SomeGuy;10710]I can confirm that this makes the build error go away. Perhaps ncrunch should not assume this package exists in the nuget package directory and should instead try to reference it from the installed location under C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\Microsoft.NET…
28 Jun 2017 04:18 UTC
-
Ncrunch is in a corrupted state.
One way I know this is possible in VS is a little roundabout ... There may be other ways. You can create a new empty console application project in VS. Then open up the 'Debug' properties for the project, select 'Start external program' and enter into the box the path to devenv.exe. You can the…
28 Jun 2017 04:08 UTC
-
Build error with basic .NET Standard class library
[quote=SomeGuy;10706]I installed it with the VS2017 installer, and never installed any of the preview builds before that. The same goes for the other developers on my team. I'm guessing maybe you [i]happen[/i] to have it installed in the nuget packages directory, but it isn't necessarily installed…
28 Jun 2017 04:05 UTC
-
Build error with basic .NET Standard class library
My understanding is that Microsoft.NetCore.App should normally be installed as a Nuget package in your local packages directory (C:\Users\<user>\.nuget\packages). Your configuration seems to prove this to be a false assumption. Can you tell me more about your setup? How was .NET Core original…
28 Jun 2017 03:57 UTC
-
Ncrunch is in a corrupted state.
[quote=nrhoffmann;10701]I applogize I left out the test param. ncruch doesn't seem to work even in the other settings root [/quote] Sorry, wish I'd seen this comment when writing my last reply. I'd definitely suggest running VS with the debugger then. There's probably an exception in here some…
28 Jun 2017 03:55 UTC