Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. NCrunch not respecting binding redirect

    Great to hear! I'm glad you're enjoying the product :) There's been LOTS of improvements since the old build you were running. I recommend checking up on the blog and the release notes on the download page to see what you've been missing.

  2. NCrunch not respecting binding redirect

    Hi, thanks for posting! The version of NCrunch that you're running is unfortunately very far out of date. Have you tried one of the later versions to see if this solves the problem for you? Cheers, Remco

  3. Projects not refeshing in NCrunch which results in the tests passing when they are really failing

    Hi, thanks for posting! As the tests are exhibiting inconsistent pass/fail results in NCrunch, I would strongly suspect one of the following: 1. The tests are sequence dependent. They perhaps depend upon being the first test executed inside the test run, or perhaps on another test being run b…

  4. Any point in leaving a core unassigned to either Visual Studio or NCrunch?

    Hi, thanks for posting! The straight answer is Yes. If you have a core that isn't assigned to VS or to NCrunch, then neither the VS UI nor NCrunch can touch this core. Note that from VS2012, VS does quite a bit using background threads, so it may still intrude upon this core a little (NCrunch c…

  5. NCrunch fails on tests that resharper passes using xUnit

    I do remember there being some issues with Nancy's testing framework not handling NCrunch straight out of the box. My memory isn't very clear in this area, but I think it was doing something like trying to resolve the web project's location dynamically (which would often fail under NCrunch, as the …

  6. Global use of isolated attribute

    Hi Peter, Do correct me if my understanding is incorrect, but I believe you're trying to come up with a mechanical solution that will ensure each test is regularly run in an isolated process away from other tests that might influence its execution via state within the application domain? Unfor…

  7. NCrunch fails on tests that resharper passes using xUnit

    Hi, thanks for posting! It can be difficult to completely understand everything that is happening in these tests with only the test code available, but I would speculate that these tests are making assumptions about the structure of the solution they are working in - perhaps they are referencing …

  8. Global use of isolated attribute

    Hi Peter, It's possible to apply the IsolatedAttribute at assembly-level (i.e. in the AssemblyInfo.cs file), in which case it will be applied to all fixtures in the assembly. This isn't exactly what you're asking for, as the isolation will only be applied to fixture (not test), but it's a step c…

  9. Incompatibility with Cudafy.Net

    Hi David, You're correct in your understanding that the right way to solve this problem is to move the code into an assembly with the instrumentation turned off. Even with code coverage suppression comments, NCrunch will still place some limited instrumentation into each method. I see no reas…

  10. build fail

    Great stuff. I'm sorry about the lack of debugging information. If you need to see this in future, you can find it by setting your 'Log verbosity' (global config setting) to 'Detailed', then inspecting the output of the build task inside the NCrunch Processing Queue.

  11. build fail

    Thanks! I've managed to take a deeper look at this. I think we're getting closer to figuring out what's happening here. I apologise as the way in which NCrunch was calling into this target is slightly different to what I had expected. When NCrunch invokes MSBuild to build the project, it sets …

  12. Xunit 2 quirks

    [quote=jmackay;5937]Would you be able to group them by the test name, or even use an ncrunch attribute to group them? I too have tests that have like 10 params each so they take up quite a bit of space :)[/quote] Sorry, but there isn't really much that can be done to change this :( The Proj…

  13. Outdated/incorrect coverage markers.

    Thanks for sharing this, along with the bug report. I've seen this before, but only while using distributed processing. My theory is that somehow there is a mapping synchronisation problem that can appear between the grid node and the client. It's rare, and resetting the engine usually gets r…

  14. ncrunch from commandline

    Not at the moment. There is a feature request for this that you're welcome to vote for though - [dead link].

  15. build fail

    Thanks! The report didn't come through unfortunately, I'm not sure what happened there. You're welcome to save it to file and submit it through [url=https://www.ncrunch.net/Support/Contact]the contact form[/url] if you like. Something else I thought might be worth looking at is the Project decl…

  16. build fail

    This is very, very strange. Is there any chance you could submit a bug report right after this build has failed? Maybe there'll be something in the report that can tell us what's happened. Can you give me any more detail about the nature of your build customisations? Do you notice this problem…

  17. build fail

    Normally NCrunch will pass the 'NCrunchPrepareForBuild' as a parameter to MSBuild. If you try doing this using the command line, does it work for you? msbuild.exe /t:NCrunchPrepareForBuild

  18. build fail

    Hi James, NCrunch automatically adds the 'NCrunchPrepareForBuild' target to the bottom of the project file inside its workspace before it builds the project. If MSBuild is complaining about this being missing, then probably there is something with the syntax of your project file that NCrunch isn…

  19. NCrunch ignores xUnit Theory if it is the only test in a file

    [quote=SeanKilleen;5922]e [Theory] is declared in xunit.extensions which I presume is a separate DLL because it's a separate Nuget package. Could I please suggest that NCrunch consider expanding their search for attributes to within xunit and xunit.extensions? This would solve the problem, and br…

  20. NCrunch ignores xUnit Theory if it is the only test in a file

    Hi Sean, Can you share the declaration of your theory? In order for NCrunch to detect that Xunit is being used by a test project, there must be a reference to at least one Xunit attribute. If you are using attributes that descend from the Xunit attributes and are not declared inside xunit.dll…