Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
NCrunch cannot discover tests due to serialization issues
Hi, thanks for sharing this problem. It looks like we are missing a type in our binary serializer. From what I can determine, this will affect .NET Core projects (not .NET Framework ones). I'll make sure this gets fixed in the next release. Thanks for bringing it to my attention!
18 Oct 2017 22:49 UTC
-
GridNode Server Service loose Credentials after Update
Hi Albert, Thanks for sharing this. Yes, there is a known problem here. The installer completely removes and reinstalls all components, which results in the service being reset to the LocalSystem account. We have a task in the backlog to change how this works, particularly as an increasing num…
18 Oct 2017 10:06 UTC
-
NCrunch without "workspaces"
Hi, thanks for posting. Unfortunately, the workspace behaviour is hard-built into the engine itself and cannot be disabled. Often people ask why this is the case. The reason is that it is impossible for NCrunch to reliably deliver on most of its features without using workspacing. NCrunch is a…
17 Oct 2017 01:07 UTC
-
NCrunch fails to build VSIX project (packages Roslyn analyzer)
Hi, Can you share any more information about the problem you're encountering here? VSIX projects have build steps that are different depending on the version of Visual Studio involved. Generally under NCrunch it's recommended that you actually disable these build steps because they slow down th…
16 Oct 2017 22:32 UTC
-
TestCase with too many parameters does not fail
This is an error that's being kicked up at discovery time. At this point in the process, error capture and handling is much less sophisticated under NUnit v2. NCrunch recognises that there is a problem with the test, but the error itself isn't reported. The issue here is that NUnit v2 does not ha…
16 Oct 2017 06:51 UTC
-
TestCase with too many parameters does not fail
Hi, can you confirm which version of NUnit and NCrunch you're using here? I see the message: Too many arguments provided, provide at most 1 arguments.
13 Oct 2017 23:06 UTC
-
NetCore2 projects don't get X on exception lines
Ok, so this doesn't look like a simple problem to solve. Some machines don't seem to have the ability to read windows/full PDB files under .NET Core. Strangely, on these same machines, they also won't try to build to the 'full' PDB type. They can only build portable PDBs under .NET Core. It'…
12 Oct 2017 06:58 UTC
-
Tests utilising Microsoft.AspNet.TestHost fail in NCrunch
[quote=alastairs;11359] I had the solution opened from the folder on D: and a PowerShell window opened on F:, and ran `dotnet test` from that PowerShell window. [/quote] This explains a great deal. I couldn't understand why this wasn't failing every time. With the files being on different dri…
11 Oct 2017 08:54 UTC
-
Tests utilising Microsoft.AspNet.TestHost fail in NCrunch
[quote=alastairs;11357]Oh balls. Yes, that is intentional. I set up a junction point between the folders on the D: and F: drives, for a variety of reasons that basically boils down convenience driven by laziness 😂 The "different solution" I mentioned in my previous post was opened from the F: drive…
11 Oct 2017 08:42 UTC
-
Tests utilising Microsoft.AspNet.TestHost fail in NCrunch
I've done a deeper dive into the bug reports you've sent through, and I can see something quite unusual in the logs. On the log you sent through yesterday, there are projects with their obj\project.assets.json file stored on F: drive while their build output path and source files seem to be store…
11 Oct 2017 03:56 UTC
-
NCrunch does not honor the max timeout and runs tests forever
I've figured this one out. The lost thread is caused by an OutOfMemoryException. I'm not sure how it's possible that this exception takes out only a thread and not the whole process, but it's the reason for the hang. I've found a performance issue in the NCrunch runtime code that allocates more…
11 Oct 2017 01:24 UTC
-
netcoreapp 2.0 problems
[quote=mjnorman;11352]I'm not exactly sure why or how it got fixed, but when I changed the test project to netcoreapp1.0 then back to 2.0 and clean/rebuild, all is now working. I haven't seen the issue since![/quote] Thanks for confirming it's solved. It may have been something internal in .NET…
10 Oct 2017 22:46 UTC
-
netcoreapp 2.0 problems
Hi, thanks for sharing this problem and for sending through your bug report. This is happening because NCrunch's .NET Core process is failing to initialise. The process explodes before any of the error handling can be established, so we don't know why its failed. Do you see this for all your …
10 Oct 2017 22:40 UTC
-
NCrunch does not honor the max timeout and runs tests forever
Thanks for all the detailed information you've provided here, and for your effort in building the sample solution to reproduce the issue. It's going to take a while to figure this one out, so I'm going to track this internally and work on it as time allows. I hope that the 3.12.0.3 build improve…
10 Oct 2017 05:49 UTC
-
NetCore2 projects don't get X on exception lines
Thanks, I'll take a look and will let you know when I have more information.
10 Oct 2017 01:28 UTC
-
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