Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Tests fail because of relative path location
Hi, thanks for sharing this issue. Note that NCrunch will not copy the resource files from referenced projects unless the 'Copy Referenced Assemblies To Workspace' setting is enabled for the projects involved. This is because changes to these files require the build chain to work differently. S…
09 Feb 2018 11:56 UTC
-
Path too long error prevents project from building
Hi, thanks for posting. I wasn't aware that this configuration setting existed. It looks like it was added in the early preview days of Windows 10, so I guess it's a few years old now. The error message giving you trouble is caused by a check NCrunch does to ensure that constructed file paths…
08 Feb 2018 01:03 UTC
-
Long test names cause Visual Studio UI hangs with NCrunch enabled
Hi, thanks for sharing this. With your sample code, I can reproduce a problem in the UI that causes NCrunch to eat up the main thread while it tries to render the long test name. This will definitely slow VS right down. We'll take a look and see if we can get this fixed. Using a hash for the…
07 Feb 2018 22:31 UTC
-
NCrunch not ignoring unloaded projects
I understand about what you mean about the build times, especially if you're switching branches. Working on partially loaded solutions adds considerable complexity to the workflow and it can be difficult to design a tool around these kinds of use cases. I tend to try to look at the reasons for w…
07 Feb 2018 12:32 UTC
-
NCrunch not ignoring unloaded projects
Hi Will, NCrunch sources its list of projects from the solution file, and will also expand its project list to include those projects that exist outside the solution but are referenced from within it. So basically, you get everything in the whole tree regardless of whether VS has the project loa…
07 Feb 2018 11:45 UTC
-
Azure Functions project causes a Console to be open every time NCrunch builds
Hi, thanks for posting. For a good number of years now, NCrunch hasn't contained any code that would instantiate a console window under windows. My guess would be that this is being triggered by a build step in your project that is creating the window in its own code. As such, the problem would…
06 Feb 2018 22:22 UTC
-
[Fixed] Ncrunch can no longer build a project but VS2017 can
Hi, thanks for sharing this problem. Can you confirm if this problem appears on the latest version of NCrunch (v3.12)? v3.12 saw quite a few fixes over v3.11 in terms of compatibility improvements for newer releases of VS.
06 Feb 2018 22:16 UTC
-
Cast operators
[quote=SvenL;11743] It is a pity that NCrunch does not report this kind of problems a little more verbose; it finds the test but can't 'handle' it... im(h)o this is a real issue and the user should be notified. [/quote] I'm sorry to hear of the frustration here. I agree that this is a scenario…
06 Feb 2018 11:50 UTC
-
Including '(' or ')' char in F# mstest class name leads to NullReferenceException
Hi, thanks for sharing this problem. I think I can see how this could come about. It's caused by a hole in NCrunch's support for methods/classes that contain brackets in their names. In most .NET based languages, it isn't possible to create these, though F# seems to be the exception. I'll make…
06 Feb 2018 11:47 UTC
-
Installed 3.12.0.15 but addin in Visual Studio 2017 claims 3.10.0.20
Hi Peter, This looks like a problem with Windows Installer. For some reason, it's electing not to overwrite the NCrunch install files on your machine. It should be possible to resolve this by following the removal and reinstallation instructions at [url=http://www.ncrunch.net/documentation/tr…
05 Feb 2018 22:18 UTC
-
Cast operators
Hi, thanks for posting. Do other test runners also find these tests? Is it possible you've ignored them using the 'Ignore' button in the Tests Window? Do newly created tests of the same structure also stay undiscovered by NCrunch? If so, are you able to share a sample declaration of any of t…
02 Feb 2018 23:09 UTC
-
NCrunch failing to build .net core projects
Thanks, we're looking into this now. I recommend sticking with 15.5 until this problem is resolved (by either us or MS).
29 Jan 2018 23:09 UTC
-
Make async await Stacktrace readable
Hi, Because this is quite similar to another feature request to clean up stack traces from the test runner, I've linked back to here from that request ([url=https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/6147755-clean-up-the-noise-when-an-assertfailedexception]https://nc…
29 Jan 2018 22:50 UTC
-
NCrunch failing to build .net core projects
Thanks for confirming. Are you able to build a sample project that can produce the error (something you can share with me)? You can submit zipped code through the [url=https://www.ncrunch.net/support/contact]contact form[/url]. If you have a non preview build of VS2017 installed, I'd also be in…
28 Jan 2018 23:47 UTC
-
NCrunch failing to build .net core projects
Hi, thanks for sharing this problem. This looks like a new one. I wonder if it's related to the preview build. Does [url=http://www.ncrunch.net/documentation/troubleshooting_compatibility-mode]compatibility mode[/url] make any difference here?
27 Jan 2018 02:09 UTC
-
Forcing priority of tests
Thanks for clarifying this. I can empathise with the frustration involved in waiting for test runs while doing large restructuring or merging in a codebase. Given the current feature set, unfortunately we're limited to the following conventional options in improving this for you: - Keep the tes…
27 Jan 2018 02:08 UTC
-
Test Case in separate column possible?
Under NUnit3, NCrunch is fully abstracted away from the TestCase/TestCaseSource generation system. It might be possible to infer the use of such a mechanism by deconstructing the test name, but there are drawbacks to such an approach in terms of future proofing and maintainability. I would recomme…
25 Jan 2018 23:52 UTC
-
Forcing priority of tests
Hi, thanks for posting. Right now no feature exists allowing fine grained control over a test's priority in the queue, outside of pinning the test to the Tests Window. If you haven't already, I strongly recommend marking this slow running fixture with NCrunch.Framework.AtomicAttribute, as this…
25 Jan 2018 23:43 UTC
-
Ipc.IpcConnectionClosedException
Hi, thanks for sharing this problem. Usually, this is caused by the dotnet.exe process failing to initialise. If you're not running the latest version of NCrunch, make sure you upgrade. This was quite a common problem with earlier versions of NCrunch last year as integration with .NET Core was …
19 Jan 2018 23:13 UTC
-
System.MissingMethodException (.net standard 2.0 class lib + 4.7 test project)
Thanks for sending through the logs. It looks like this is a known issue in .NET itself, see [url=https://github.com/dotnet/standard/issues/476]https://github.com/dotnet/standard/issues/476[/url]. Although the problem only appears for you under NCrunch, this doesn't seem to be caused by NCrunc…
18 Jan 2018 23:17 UTC