Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. .net 4.7.1 support

    Where do you see this error message? Does it happen on test execution or discovery? Is this something you can reproduce in a small sample project? Any chance you could submit a bug report after it's happened to you? I might be able to extract more information from the log in the report.

  2. Copy additional files also need CopyReferencedAssembliesToWorkspace

    I think this issue may be related to synchronisation of the nuget packages over the grid. Could you try copying the contents of your User\.nuget directory over to the corresponding user on the grid node? I think that perhaps the grid node doesn't have the nuget package installed, and for some re…

  3. Issues building project, possibly related to SRP

    [quote=Peska;11672]I have the same problem, but unfortunately I cannot apply any rules to my local machine. Is there a way to change this directory? I tried to set up "Workspace base path" in my NCrunch Configuration, but it doesn't have any effects.[/quote] Hi, I'm sorry to hear this is the case…

  4. Copy additional files also need CopyReferencedAssembliesToWorkspace

    Thanks for sharing these extra details. I've built a sample project containing these references and have analysed the build logic involved here. It looks like the file is being copied via standard MSBuild logic. It's a bit more complicated than other references because this particular file seems …

  5. failing to build test project with .net core2 ncrunch v3.10 visual studio 2017

    Hi, Thanks for sharing this problem. At the time NCrunch v3.10 was released, .NET Core v2 had not yet been formally released and is not supported by this build. To resolve this problem, you'll need to upgrade to a later version of NCrunch. Ideally 3.12.

  6. .net 4.7.1 support

    Hi, Support for .NET 4.7.1 went out officially with the 3.12 release. To my knowledge, it seems to be stable. I think the problem you're experiencing is something entirely different. Can you make sure you're running on the latest 3.12 release from the download page, and try deleting the cont…

  7. Throws exception when using Ninject.Extensions.Conventions

    [quote=Brondahl;11664] But for future developers suffering the problem. That setting does fix it :) (@Remco, can you / do you want to edit the thread subject line to indicate that a fix was found, albeit a debatably imperfect one?)[/quote] Unfortunately this forum doesn't seem to let me rename …

  8. Copy additional files also need CopyReferencedAssembliesToWorkspace

    Hi, thanks for posting! It's difficult to give a solid answer here without fully understanding the mechanism used by this Nuget package to copy the DLL into the bin\x64\Debug\net462\x64 directory. Is this a publicly available Nuget package? I might be able to take a look to see how it copies th…

  9. Required dlls/tools in nuget package not being copied for ncrunch

    Hi James, Thanks for posting! As you probably know, NCrunch works by extracting your projects from your 'foreground' solution into isolated sandboxes, where it can then build them and link them together into runtime environments. For NCrunch's features to work correctly, it's important that e…

  10. Throws exception when using Ninject.Extensions.Conventions

    As Ninject is a runtime framework, there is a high chance that other solutions exist that won't require the 'Copy referenced assemblies to workspace' setting to be enabled forcefully by the engine. Unfortunately I'm not personally familiar enough with the internals of Ninject or how it resolves ass…

  11. OneTimeTearDown is called more than once

    [quote=berkeleybross;11655] I see what you're saying. On the off chance you have experience with this kind of thing, would you recommend any strategies for detecting orphans? I like the idea that I can "adopt" orphans from previous processes but how would you identify which ones are "in use"? Would…

  12. OneTimeTearDown is called more than once

    Hi, thanks for posting! Effective cleanup of resources at the end of a test run is difficult to do, because of the nature of automated testing. The key underlying problem is that there is no way to be certain that the cleanup code will have a chance to run. For example, if the test process ex…

  13. Tests queued for execution but no tests being executed

    You're welcome. Happy to help :)

  14. Tests queued for execution but no tests being executed

    Thanks for the bug report. I think it's becoming clear now what's happening here. In your engine mode, you've made use of an override for the 'Tests to execute on this machine' setting. This setting is intended to control which machines are used to execute specific tests when using distributed …

  15. ncrunch 3.12.0.15

    [quote=jenseralmeida;11646]This week I was able to install the version without any false positive detection by windows defender. Thank you for your support and attention.[/quote] Great to hear! But if thanks are involved, they're probably better due to MS rather than myself. It seems they've fi…

  16. Tests queued for execution but no tests being executed

    Would you be interested in trying the build below? [url=http://downloads.ncrunch.net/NCrunch_Console_3.12.0.16.msi]http://downloads.ncrunch.net/NCrunch_Console_3.12.0.16.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.12.0.16.zip]http://downloads.ncrunch.net/NCrunch_Console_3.12.0.…

  17. Tests queued for execution but no tests being executed

    Thanks for sending through the bug report. The log is interesting. According to the report, there are no internal errors being kicked up by the engine and no tasks are being executed. I'm wondering if this might be an issue with the message itself. The next time this happens, can you check in …

  18. DataTestMethod with Enumerators fail in NCrunch

    Great! Thanks for confirming!

  19. Test status shows test running forever but no processing in the queue

    Hi, sorry that your request slipped my net. I've taken a look at the bug report you submitted, and this appears to be a compatibility issue with LightBDD: System.InvalidOperationException: FeatureCoordinator of LightBDD.XUnit2.Implementation.XUnit2FeatureCoordinator type is already installed …

  20. Tests queued for execution but no tests being executed

    Thanks. Can you produce this consistently? Is it the same tests involved every time? It should be possible to tell which tests are being run by setting the Tests Window to group by Test, then sort in order of state. Edit: It looks like the only way the engine can end up in this state (with ta…