Forum member

abelb

155 posts

Posts by abelb

  1. With CPU architecture x64, hosting strategy x64SatelliteProcess, NCrunch runs in an x86 process

    Disclaimer: if for some reason I select a (forced) configuration and the process cannot be created with those properties, I would have expected an exception. But that is not the case here. The settings in the NCrunch configuration are as in the title. My build is AnyCPU. My Windows 7 system is In…

  2. Loading / running FsCheck tests

    I've managed to get a somewhat clunky workaround that works with NCrunch, but will fail with my CI system (which, atm, requires either 2.6.4 or 3.x of NUnit). I could, perhaps, load NUnit dynamically or something, but it starts to sound a bit overly complex. Isn't there some way I could select th…

  3. Loading / running FsCheck tests

    I think I've found out what the issue is, and is indeed because of the difference in versions internally: From the example prj I sent you, change this: [code=plain]interface IAddin with override x.Install host = let tcBuilder = new FsCheckTestCaseBuilder() host.GetExtens…

  4. Support for NUnit 3.x?

    I am considering upgrading my tests to NUnit 3.x, but this is going to be quite an undertaking, so before I'm doing that I'm checking my toolchain. What versions of NUnit does NCrunch support automatically and/or for what versions do I need specific configuration, or aren't supported at all? Is t…

  5. Loading / running FsCheck tests

    I ended up creating a minimal reproducible example project, which I've just sent to you. I haven't tried this with the new NCrunch 3.0 version (which looks promising! Congrats to the big update!), so bear with me if this issue isn't apparent in the 3.x branch.

  6. Loading / running FsCheck tests

    Hi Remco, Thanks for your response. At least some form of this specific error was reported in the referred to forum post (but the text in that post suggests that it was resolved without the need of further research). Yes, I can share the project. It is proprietary, but I assume you will treat …

  7. Loading / running FsCheck tests

    I wanted to add property-based testing to my NUnit / FsUnit test projects by starting out with FsCheck. I added FsCheck and the FsCheck NUnit projects to my existing test project. I also added a few of the standard example tests from the Github source of FsCheck to see if everything worked. The …

  8. Starting VS2015 in Safe Mode shows strange error in NCrunch window

    Yes, you are probably right. I had the impression that VS was executing *some* code of the extension, but if it is executing no code at all, there'll little to nothing you can do. Besides, I think that by maintaining the window layout, as VS is doing, at least I won't use any window layout related i…

  9. Starting VS2015 in Safe Mode shows strange error in NCrunch window

    When I start Visual Studio 2015 in safe mode (as with devenv.exe /SafeMode), the NCrunch Configuration window (which I have usually open), looks as follows: [img]http://i.imgur.com/bResyWX.png[/img] It is actually a text box and the error is: [quote]An exception was encountered while constr…

  10. After removing a failing project from the solution, it does not disappear from NCrunch

    Interestingly, it shows a small bug of NCrunch (which may or may not be present in the current release). If you have a reference like the one shown above, with the $(NCrunch) variable, it is odd that the same reference is [b]not[/b] shown in the NCrunch Configuration window. Apparently, the NCrunch …

  11. After removing a failing project from the solution, it does not disappear from NCrunch

    Hi Remco, You just beat me to it. Visual Studio wasn't showing _any_ reference to it in any of the projects (and it builds fine). But then I found the culprit, I had a line like the following in one fsproj file: [code=xml]<When Condition=" $(Configuration.EndsWith('_ICU')) or '$(NCrunch)' == '…

  12. After removing a failing project from the solution, it does not disappear from NCrunch

    The project that I removed from the *.sln file is failing its build and I don't know (and don't care) how to make it work, so I removed it from the solution as there were no dependencies anymore. But NCrunch didn't remove it. I think I tried everything, including running the VS2015 Setup to repai…

  13. Ncrunch Fody ContainsTypeChecker

    [quote]This is exactly what NCrunch does. The nCrunch.BuildHost.x86.exe process is re-used between build actions and between projects. If there is a build task used by one project with a conflicting reference to a build task used by another project inside the same solution, there is a potential for …

  14. Ncrunch Fody ContainsTypeChecker

    [quote] If you receive the error, try navigating to the workspace by right clicking on the failed build, then going Advanced->Browse to workspace.[/quote] Thanks, that is a good suggestion. I have meanwhile found the cause. If you use a NuGet package that itself is based on Fody (in my case, Modu…

  15. Ncrunch Fody ContainsTypeChecker

    I'd like to add that, even if you have aligned all versions, the error can still pop up. I find it hard to solve (and haven't yet) because it does not pop up always. I.e., sometimes when I hit the Reload and Rebuild All button in NCrunch, the error goes away. But if I change something in a part of t…

  16. When a test raises an ExecutionEngineException it crashes NCrunch

    I'm impressed that you even tried that! Apparently you must have tried a more complex solution than I ever needed. While I have had similar experiences with SO exceptions, my requirements were simpler: the hosting process was used for one application only, that we develop ourselves, and the SO excep…

  17. When a test raises an ExecutionEngineException it crashes NCrunch

    Btw and fyi, it looks like [url=https://github.com/Microsoft/visualfsharp/issues/566]I hit the following reported bug[/url], apparently others have encountered it too, which runs down to an error in the Runtime of F# related to garbage collection.

  18. When a test raises an ExecutionEngineException it crashes NCrunch

    [quote]NCrunch's handling of stack overflows is implemented by cheating. It tracks the size of the stack and stops the overflow before it happens. [/quote] Sounds like a viable way, I assume you use the intrumentation API that you also use for measuring method's execution time? [quote]Trying to …

  19. When a test raises an ExecutionEngineException it crashes NCrunch

    I'm aware that an ExecutionEngineException usually means something is terribly wrong and since in this particular case I only run proper .NET MSIL tests, this may appear to be a bug in .NET's Core CLR or JIT itself. Nevertheless, I thought you'd want to know that if this happens, the NCrunch engine …

  20. What does "analysis failure" mean?

    My bad, the output window was obscured by the CodeMap window, which just happens to look exactly the same when there's nothing on the canvas. After seeing the error, it turned out that it couldn't load NUnit 2.6.4. I replicated the same error with NUnit's own runner. The bindingRedirects etc seem…