Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Tests utilising Microsoft.AspNet.TestHost fail in NCrunch
[quote=alastairs;11342]Thanks Remco. I've tried the new build, and it looks as though running `dotnet test` on this solution's startup project will still trigger the bug. I'll send a fresh bug report in case the logs show up anything useful.[/quote] Thanks for the extra bug report. Just to clari…
10 Oct 2017 01:01 UTC
-
Tests utilising Microsoft.AspNet.TestHost fail in NCrunch
I'm wondering if you'd be interested in giving the build below a try: [url=http://downloads.ncrunch.net/NCrunch_Console_3.12.0.3.msi]http://downloads.ncrunch.net/NCrunch_Console_3.12.0.3.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.12.0.3.zip]http://downloads.ncrunch.net/NCrunch…
09 Oct 2017 05:41 UTC
-
NCrunch does not honor the max timeout and runs tests forever
I'm wondering if you might be interested in trying the build below: [url=http://downloads.ncrunch.net/NCrunch_Console_3.12.0.3.msi]http://downloads.ncrunch.net/NCrunch_Console_3.12.0.3.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.12.0.3.zip]http://downloads.ncrunch.net/NCrunch_C…
09 Oct 2017 05:38 UTC
-
NetCore2 projects don't get X on exception lines
[quote=daveleaver;11337] Will use the contact form to submit the workspace folder with the built items.[/quote] Thanks, this confirms that the problem happens at build time. Could you try the following for me? 1. Go to your project file using a command prompt 2. Ensure all build artifacts…
09 Oct 2017 05:11 UTC
-
NetCore2 projects don't get X on exception lines
Ok, can you try the following? 1. Create a new .NET Core console application, add code under Program.Main to throw an exception 2. Enable NCrunch so the project is built by NCrunch 3. Right click on the project in the Tests Window, go to Advanced->Browse To Workspace 4. Find the console applic…
09 Oct 2017 03:29 UTC
-
NetCore2 projects don't get X on exception lines
What happens if you turn off the 'Instrument output assembly' setting in NCrunch's project-level configuration? This should remove all the coverage markers, but I'm wondering if you get a line number in the error after you do this.
09 Oct 2017 02:59 UTC
-
NetCore2 projects don't get X on exception lines
Thanks for sharing this problem. For some reason, this doesn't seem to appear for me. There must be something in your environment that is triggering this. [code=plain] NCrunch: This test was executed on server '(local)' Xunit.Sdk.TrueException: Assert.True() Failure Expected: True Actua…
09 Oct 2017 02:47 UTC
-
Using System.Xml in .NET Core 2 gives FileNotFoundException for System.Collections.NonGeneric
Right, so this one doesn't look like it'll be easy to fix. This is being caused by binding information crossing over from NCrunch's .NET Core 1.0 and 1.1 assemblies over into the .NET Core 2.0 environment. MS changed the dependency handling between 1.1 and 2.0. This means that as soon as some…
09 Oct 2017 00:50 UTC
-
Using System.Xml in .NET Core 2 gives FileNotFoundException for System.Collections.NonGeneric
That's great! Thanks for sending that through. I'll take a look and will get back to you soon.
07 Oct 2017 11:56 UTC
-
Using System.Xml in .NET Core 2 gives FileNotFoundException for System.Collections.NonGeneric
Hi, thanks for sharing this problem. As long as this NuGet package has been added to the test project, there shouldn't be a resolution problem here for NCrunch. Are you able to share this code with me? The assembly resolution system under .NET Core is so complex that it is unfortunately impos…
07 Oct 2017 11:31 UTC
-
Tests utilising Microsoft.AspNet.TestHost fail in NCrunch
Thanks for sending through the logs. It's a bit unfortunate that the size of your solution prevented the loading of the projects from sharing information in the logs (which would have been the most interesting part), but I have identified something wrong going in NCrunch's project synchronisation s…
05 Oct 2017 02:42 UTC
-
NCrunch does not honor the max timeout and runs tests forever
Thanks for sending this through. There's a huge amount of complexity here in the interactions between this code and the entire tool system, so it will take me some time to analyse this. I find the difference in experience between VS2015 and VS2017 very interesting. I'll let you know when I have m…
05 Oct 2017 00:12 UTC
-
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
Thanks for sending this through. This is a really good report as it explains some very strange things I've been seeing these last few months. It looks as though when there is an unexpected problem that appears during project load, the project gets pulled up by the engine in a half-initialised st…
04 Oct 2017 23:26 UTC
-
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
[quote=jjvdgeer;11315] When I choose this commad, VS->Tools->NCrunch, the command will fail with some NREs. If I after this run the NCrunch command again, it fails, it has become corrupted.[/quote] Is there any chance you can share with me a trace log from NCrunch that shows this initial set …
04 Oct 2017 21:34 UTC
-
NUnit 2 vs NUnit 3
Thanks for the code sample. This problem is appearing because you have your NUnit v2 framework utilisation type set to 'StaticAnalysis' which although is faster, it doesn't have good support for many of NUnit's more niche features, such as TestCases. If you want to use TestCases, I recommend set…
04 Oct 2017 11:20 UTC
-
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
Looking at the code involved here, I'm having a hard time understanding how this issue could exist, unless it were a downstream issue from something else going horribly wrong. I'm eager to learn more about this problem in the hope of reproducing it. Are you able to uncover any steps that consist…
04 Oct 2017 07:51 UTC
-
Build failed on Unity project
Hi, thanks for sharing this problem. I've seen this problem reported before a few months ago. I can't remember if it was also a unity project, but the problem originated from the nunit.framework.dll file. For some reason, this NUnit binary wasn't an officially released version of NUnit3, and it…
04 Oct 2017 06:15 UTC
-
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
I think the cache corruption issue is a once off. I'm not sure why this has happened to you. Others have reported cache corruption problems on the later versions of NCrunch, but I've yet to encounter a use case that can consistently produce them in a way that allows me to fix them. Did removing…
04 Oct 2017 05:01 UTC
-
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
Thanks for sending through the log. So we have two problems here. One is the failed Auto restore of NuGet packages by the console tool. The second looks to be caused by corrupt cache data. To solve the first problem: When you run the console tool, make sure you specify that you want to use …
03 Oct 2017 23:52 UTC
-
NUnit 2 vs NUnit 3
Hi, thanks for sharing this problem. NUnit2 is still supported and probably always will be. I am actually more certain of the NUnit2 integration than I am with NUnit3, because it's stood the test of time and this framework version isn't being updated anymore. Are you able to share this test c…
03 Oct 2017 23:45 UTC