Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Renamed files losing coverage

    Hi, thanks for sharing this problem. Can you try deleting the contents of the _NCrunch_SOLUTION directory (adjacent to your solution file) with the engine disabled to see if this resolves the problem?

  2. "The connection has been closed" on Distributed Processing

    Thanks. I've taken a look at the log file in the bug report. It contains some interesting exceptions, but these are all downstream from the disconnection itself and don't appear to be the actual cause of it. The grid node seems to be synchronising successfully and starting to build the projects w…

  3. "The connection has been closed" on Distributed Processing

    Are you running any kind of anti-virus or firewall software on your machine that might interfere with outgoing connections? Something worth trying is also to install the grid node on your local machine, then try to connect to it via loopback connection (127.0.0.1). This would help to rule out wh…

  4. "The connection has been closed" on Distributed Processing

    Can you check whether the version of the grid node is consistent with the client? A simple way to be certain of this is to just re-download the installer for the latest version of both and install them.

  5. "The connection has been closed" on Distributed Processing

    Hi, thanks for sharing this issue. Does this seem to happen only for a specific solution? For example, does it also fail if you try to use it with a very simple dummy test solution?

  6. Build Not Completing

    Thanks! It's refreshing to know that other people are still using the older frameworks. Most of the problem reports these days are on the newer stuff (VS2017, .NET Core, .NET 4.6.2, etc). I still look forward to the day when I can upgrade the NCrunch core components to .NET 4.0. I'll watch out…

  7. netstandard issue

    [quote=kentcb;10251]Not only does this work, it works exactly per my mental model before diving in. Really awesome stuff, Remco.[/quote] Thanks :) This one was quite a challenge to implement, as it involved knowing all the target frameworks prior to the project being loaded. Good to know it's w…

  8. Build Not Completing

    Is there any chance you could submit a bug report directly after seeing this behaviour? (i.e. the green going to blue and staying there). Also, what kind of project is this? (i.e. .NET Framework, .NET Core, netstandard, etc).

  9. 1 solution ncrunch treating 2 projects differently

    I'm glad to hear this got you up and running again, although I don't think we've solved the root of this problem. You'll likely see it happen again :( There is something not right in the dependency resolution in your solution. Somewhere in your solution you have projects depending on derived fi…

  10. NCrunch console on TeamCity, counting test vs Fixture

    NCrunch's TeamCity integration looks for the existence of the 'TEAMCITY_VERSION' environment variable. In theory, if you can find a way to delete this environment variable prior to running ncrunch.exe, then you should be able to disable the integration.

  11. NCrunch console on TeamCity, counting test vs Fixture

    I've just done a quick review of the TeamCity integration and NUnit XML reporter. NCrunch definitely emits messages for TeamCity using the ##teamcity syntax. Why these aren't shown in the TeamCity log is not clear to me. It's possible TeamCity itself is masking or processing the messages. NCru…

  12. 1 solution ncrunch treating 2 projects differently

    Ok, let's see if we can find the dependency on the foreground solution. Try the following: - Close your IDE - Browse to your solution directory - Delete ALL derived files in every project (i.e. the contents of \bin and \obj). Make sure no DLLs exist for any of these projects. Your solution s…

  13. 1 solution ncrunch treating 2 projects differently

    Thanks for sharing these extra details. You mentioned that your colleagues aren't having this problem. Are they using the same solution? Is it possible that assemblies output from either of these projects have been installed in your GAC?

  14. netstandard issue

    v3.6 of NCrunch doesn't have the ability to configure the multi-targeted projects independently of each other. I'd actually recommend using an early build of v3.7 which includes this feature: [url=http://downloads.ncrunch.net/NCrunch_Console_3.7.0.4.msi]http://downloads.ncrunch.net/NCrunch_Conso…

  15. NCrunch console on TeamCity, counting test vs Fixture

    This is actually what NCrunch already does, but it still needs to represent the fixtures in the log. A fixture test is still a test, because it has its own results in the form of console output, pass/fail, code coverage, etc. So NCrunch reports tests using the syntax you've described above, an…

  16. 1 solution ncrunch treating 2 projects differently

    [quote=ChloeT;10229] By rebuild I mean in VS I select Project M, right click it and select Rebuild in the context menu. [/quote] Ok, this is a critical piece of information. When a solution is wired together correctly, NCrunch has no dependency on your foreground (VS) build. Can you examine…

  17. NCrunch console on TeamCity, counting test vs Fixture

    NCrunch has some special integration with TeamCity. This integration isn't very sophisticated. Basically, NCrunch looks for an environment variable present when TeamCity is resident. Where this exists, NCrunch will add some extra output to the trace log to give some more structured test results w…

  18. 1 solution ncrunch treating 2 projects differently

    When you say you need to rebuild project M, do you mean rebuilding in the IDE, or reloading using NCrunch? Has NCrunch given you any warnings about your assembly references? (try clicking on the 'Show all hidden warnings' button in the tests window to be sure).

  19. Tests re-executing if modifying Tests window layout

    Thanks for sending that through. The log doesn't seem to reveal any queuing of tests after the engine mode was changed. Which area of the UI are you manipulating to trigger the engine? Are there precise steps that seem to make the engine queue new tasks?

  20. 1 solution ncrunch treating 2 projects differently

    Hi, thanks for sharing this issue. Can you share any more details about these projects? Particularly, any structural differences between them? Are they both test projects? Are you using shared projects at all? Also, when you say that you need to rebuild the project, do you mean rebuild the …