Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Tests re-executing if modifying Tests window layout
This doesn't make much sense to me. There is no connection between this area of the UI and the engine. Are you certain there isn't any other reason why the tests might start executing? I can't seem to get this to happen on my end. If it still does for you, are you able to submit a bug report (…
09 Apr 2017 11:24 UTC
-
netstandard issue
With PCL, you still need to define a target framework version that can be used to choose the version of the .NET that should be used to run your code. Under netstandard, there is no way to safely infer this. For NCrunch to be able to run your tests under netstandard, it would need to choose a pl…
09 Apr 2017 00:17 UTC
-
netstandard issue
Hi, thanks for sharing this problem. This is actually a runtime exception. It's being thrown when NCrunch tries to load this assembly into a runtime environment for the purposes of discovering tests. Do you have tests inside a netstandard project? If so, this doesn't really make sense. Nets…
08 Apr 2017 12:44 UTC
-
Long Time to Start Test
Hi Ed, Try turning on this setting: [url=http://www.ncrunch.net/documentation/reference_global-configuration_track-engine-performance]http://www.ncrunch.net/documentation/reference_global-configuration_track-engine-performance[/url]. Then restart your IDE, run the test, and examine the 'Execut…
07 Apr 2017 22:18 UTC
-
"Run impacted tests automatically, other manually" does not detect changes in MSpec tests.
Sorry that it's taken so long to sort this out. Try the build below and let me know how you get on. [url=http://downloads.ncrunch.net/NCrunch_Console_3.7.0.4.msi]http://downloads.ncrunch.net/NCrunch_Console_3.7.0.4.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.7.0.4.zip]http://d…
07 Apr 2017 05:47 UTC
-
Impacted tests with internal types under CompareIL detection mode.
Ok, this looks to have been a similar issue. I've redesigned the way the whole impact detection system works with compiler generated code. Hopefully we'll now see an end to these problems. New build is below. [url=http://downloads.ncrunch.net/NCrunch_Console_3.7.0.4.msi]http://downloads.ncrunc…
07 Apr 2017 05:46 UTC
-
Build errors when referencing Shared Projects
Hi, Shared projects are still a work in progress, so there are some rough edges here. Standard practice at the moment is to always ignore the shared project. The projects that then reference it should have all 'shared' files explicitly included and things should work. Because NCrunch doesn't t…
06 Apr 2017 23:44 UTC
-
Impacted tests with internal types under CompareIL detection mode.
[quote=GreenMoose;10202]Ok thanks. 3.7.0.3 did not fix the issue however (yes the method is async, and it behaves the same as before; e.g. commenting out a line: no impact detection, un-commenting a line/inserting a line: impact detection works).[/quote] Is there any chance you could isolate this…
05 Apr 2017 23:33 UTC
-
NCrunch temp files nCrunchTemp_xxx.csproj in project directories
These files are generated by NCrunch when it loads your project. Basically, NCrunch doesn't tamper with your existing project file, but it does need to make modifications and save these to disk before it can invoke MSBuild. So we have a temporary file that can exist for a few seconds, depending …
05 Apr 2017 23:32 UTC
-
Impacted tests with internal types under CompareIL detection mode.
The impact detection system should consider ALL covered methods in an assembly, regardless of whether they are internal. So what you've described looks like a bug. Some issues have recently been found where the impact detection wasn't working correctly for certain compiler generated structures…
05 Apr 2017 12:05 UTC
-
NCrunch with NUnit3 lagging due to Analyse Assembly
The number of types/methods in your assembly is nothing unusual, but there may be some knock-on here with the assembly references. The reflection activity in Analyse Assembly is essentially just iterating over all types and methods in the assembly, along with their custom attributes. You may act…
05 Apr 2017 04:23 UTC
-
Cannot find module '@angular/core'.
I have no way to test whether this works, but give it a try: <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="(- BROKEN LINK -)"> <Import Project="..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.3\build\Microsoft.CodeDom.Provid…
04 Apr 2017 23:18 UTC
-
VS = No Build Errors, NCrunch Many Build Errors
Hi Ed, VS has an internal system designed to detect references from older frameworks to newer ones, and usually will try to warn you of this in some form or another. NCrunch doesn't have such a mechanism, so it's possible the problem was instead being kicked up in the form of MSBuild exceptions.…
04 Apr 2017 12:25 UTC
-
NCrunch using wrong bindingRedirect
Hi, thanks for sharing this problem. At the moment, NCrunch is still on xunit v2.1. There are plans to upgrade this to v2.2 along with some integration changes to allow the engine to be more forwards-compatible with future versions of xunit. To immediately solve this problem, you have two opt…
04 Apr 2017 09:40 UTC
-
VS = No Build Errors, NCrunch Many Build Errors
Hi Ed, Thanks for sharing this problem. Can you check if NCrunch has given you any warnings in the Tests Window? I wonder if this might be caused by a reference to an old assembly. Deleting the _ncrunch directory with the IDE closed will completely reset the NCrunch state. This might be w…
03 Apr 2017 23:31 UTC
-
NCrunch console 3.6 ignores /E parameter?
[quote=GreenMoose;10187][quote=Remco;10175] As part of V3, the console tool parameter handling was upgraded so that you can override almost any global or solution-level configuration setting using the command line, including the TestsToExecuteAutomatically setting.[/quote] ..almost as in not Custo…
03 Apr 2017 12:44 UTC
-
NCrunch with NUnit3 lagging due to Analyse Assembly
Regarding funnel-related issues, there were some quite significant changes in a recent build of NCrunch (I think it was v3.3 or v3.4) where NCrunch now uses the solution file as the main source of truth for the list of projects to load, disregarding VS if it doesn't report a project (i.e. if its unl…
03 Apr 2017 07:00 UTC
-
NCrunch with NUnit3 lagging due to Analyse Assembly
[quote=Grendil;10183]Ah, thanks for this diagnostic tip! So I turned on that setting, reloaded the IDE, waited for NCrunch to do its initial build and analysis, and made sure it was in manual engine mode. When it was idle I ran one test. That took about 16 sec, nearly all of which was "Invoke…
03 Apr 2017 06:56 UTC
-
NCrunch with NUnit3 lagging due to Analyse Assembly
Hi, thanks for posting! Before offering any advice on this problem, I think it's best if we try to isolate the performance issue. What you've described doesn't seem like normal behaviour, though I've yet to learn more about the structure of your solution. Try turning on the [url=http://www.nc…
03 Apr 2017 00:46 UTC
-
Using NCrunch console on network drive results in ERROR (Internal).
This is caused by a constraint imposed by the .NET Framework. Basically, .NET doesn't allow the dynamic loading of assemblies from network locations without special configuration. It's possible that adding the loadFromRemoteSources switch would resolve this immediate problem, but NCrunch employs d…
31 Mar 2017 22:40 UTC