Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. 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…

  2. 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…

  3. 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…

  4. 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…

  5. 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…

  6. 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…

  7. [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.

  8. 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…

  9. 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…

  10. 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…

  11. 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…

  12. 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).

  13. 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…

  14. 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…

  15. 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?

  16. 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…

  17. 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…

  18. 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…

  19. 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 …

  20. 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…