Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
BadImageFormatException
Hi, This is because NCrunch v3.11 was released prior to MS releasing .NET 4.7.1, which has only been out for a few weeks now. There's a dev build of NCrunch below that includes a task runner for .NET 4.7.1 if you need this prior to the v3.12 release: [url=http://downloads.ncrunch.net/NCrunc…
09 Nov 2017 05:10 UTC
-
Parallel execution and integration tests
[quote=sunny;11479]Thanks, One "processing thread/worker" executes the tests in the a "test task/group" in sequence. Parallelism is achieved by multiple "processing threads". [/quote] Correct. [quote=sunny;11479] If there is a test fixture with 10 tests in it, and the setup of the fixture s…
08 Nov 2017 23:06 UTC
-
NCRunch console: Multiple assemblies with equivalent identity have been imported
[quote=GreenMoose;11476] *Edit: Well it does reference nuget packages, I can look into those tomorrow and see if that might be the cause of it.[/quote] I'm thinking there is a good chance that there is inconsistent versioning of this binary between the Nuget packages being referenced (the new DL…
08 Nov 2017 21:35 UTC
-
Parallel execution and integration tests
Hi, thanks for posting. The easiest way to understand this is to take a look at the Processing Queue Window when you have NCrunch running inside Visual Studio. Inside this window, you'll see a list of test tasks that are being executed more or less in sequence by the engine, with some degree o…
08 Nov 2017 21:11 UTC
-
NetStandard2.0 csproj referencing NUnit without tests
Hi, thanks for sharing this issue. Because NCrunch's interaction with tests is indirect (through the framework), it needs to interrogate the framework before it can be sure that there are no tests in the project. It identifies the candidate for a test framework through its build dependency on NU…
08 Nov 2017 20:58 UTC
-
NCRunch console: Multiple assemblies with equivalent identity have been imported
Hi, thanks for sharing this problem. What I find particularly interesting about this problem is that it's happening during build of the project. NCrunch doesn't really do much manipulation of dependencies during the build of .NET Core projects, most of this is handled downstream in the runtime e…
08 Nov 2017 20:54 UTC
-
Debuging a test - watch issue
Thanks for sharing these extra details. The debugger itself is unfortunately a bit of a black box (unless you work within MS). The difference in behaviour is likely to be related to the structure of the PDB file, which NCrunch needs to reconstruct when it instruments the assembly. To troubles…
08 Nov 2017 11:17 UTC
-
Debuging a test - watch issue
Hi, Thanks for sharing this problem. Do you have any variables showing up in the locals for your debugger? Are you able to inspect method parameter values or class members/fields? Do you experience this problem on a small sample solution?
08 Nov 2017 10:17 UTC
-
Building Large Source Trees Spanning Solutions
I'm glad to hear you found the problem and were able to resolve it. This particular expression (GetDirectoryNameOfFileAbove) is a frightfully complex thing for NCrunch to handle because of the sequence of evaluation in MSBuild. It's not a surprise to me that this expression has interfered with res…
07 Nov 2017 23:36 UTC
-
DataTestMethod with Enumerators fail in NCrunch
Can you confirm whether you set your framework utilisation type for MSTest to DynamicAnalysis? As described earlier, it just wasn't feasible to support all use cases of the DataRow under StaticAnalysis.
07 Nov 2017 09:22 UTC
-
DataTestMethod with Enumerators fail in NCrunch
I recommend installing via the MSI rather than the ZIP, if possible. My first guess would be that the O/S is blocking NCrunch from running its task runners. If you need to install the ZIP, check that the files aren't being blocked. See here for specifics: [url=http://www.ncrunch.net/documentati…
07 Nov 2017 08:22 UTC
-
DataTestMethod with Enumerators fail in NCrunch
Hi, Sorry about this. There's been quite a bit of slippage in the v3.12 scope because of a sudden and rather gigantic issue around PDB support in .NET Core. Here's an early build for you: [url=http://downloads.ncrunch.net/NCrunch_Console_3.12.0.4.msi]http://downloads.ncrunch.net/NCrunch_Cons…
07 Nov 2017 07:34 UTC
-
Could not load file or assembly 'xunit.runner.utility.netstandard15, Version=2.2.0.3545, Culture=neu
After you build your project (just using VS), can you check whether there is a xunit.runner.utility.netstandard15.dll file in your build output directory? This file should be copied there by an xunit build step. If its not there, then there is something wrong with your xunit installation. Removin…
06 Nov 2017 22:55 UTC
-
Could not load file or assembly 'xunit.runner.utility.netstandard15, Version=2.2.0.3545, Culture=neu
There must be a nuget package dependency from one of your projects to xunit.runner.utility. This is how it's landing in the .deps file. Make sure you remove all nuget dependencies on this library.
06 Nov 2017 12:17 UTC
-
xunit.runner.utility v2.2.0 "Unable to restore required Nuget packages..."
NCrunch has its own internal list of Nuget packages that are required for operation under .NET Core. Because it's to be expected that a machine may not have all these required packages installed, NCrunch will automatically try to restore them if it detects .NET Core projects are being loaded. At t…
06 Nov 2017 10:48 UTC
-
Could not load file or assembly 'xunit.runner.utility.netstandard15, Version=2.2.0.3545, Culture=neu
Hi, thanks for sharing this problem. Is there anything in your solution that includes anywhere a reference to xunit.runner.utility? NCrunch packages this binary with its own Xunit integration module. You can find the file that NCrunch should be loading at C:\Program Files (x86)\Microsoft Visual…
06 Nov 2017 10:42 UTC
-
All tests failed due to unexpected error
Hi Alex, Thanks for sending through the sample solution. The problem is being caused by a call to Debug.Fail in the destructor of XmlFileInfoDocument. As I understand it, destructors are called when the GC physically removes objects from the heap. This code being in a destructor essentiall…
06 Nov 2017 00:30 UTC
-
Async build and build in general is a lot slower on VS 2017 Preview 4
[quote=abelb;11442] All in all an excellent result and it makes it much more pleasant to work with NCrunch and such large projects. However, I think performance for large scale projects should remain a focus point (if you can give it the priority and time it needs of course). [/quote] Great to …
03 Nov 2017 23:11 UTC
-
All tests failed due to unexpected error
Thanks Alex. I'll take a look and will get back to you soon.
03 Nov 2017 04:34 UTC
-
_SplitProjectReferencesByFileExistence
Hi, thanks for posting. Generally, when I've seen this problem, it's because MSBuild wasn't able to resolve the .targets files that were necessary to build the project. The solution to this will depend on how your build system is structured. Somewhere in the project (or in its related imports) …
03 Nov 2017 04:34 UTC