Forum member

johnmwright

45 posts

Posts by johnmwright

  1. No longer discovering NUnit tests

    Nevermind :) I found the issue. When we moved to SDK-based projects, the default build configuration for the main assembly and the test assembly were different (which we didn't see in VS, since it uses the configuration defined in the Configuration Manager). By explicitly setting the build config…

  2. No longer discovering NUnit tests

    (I just submitted a bug report via the extension for this) NCrunch is no longer discovering the unit tests in my NUnit assembly. I'm not sure when it stopped working, so can't pin it to a specific change or software upgrade. This project was updated to be the new SDK-style csproj file somewhat rec…

  3. Two instances of VS2017 installed, NCrunch only install into one

    I installed VS2017 Pro, then later got access to VS2017 Enterprise. Since there isn't an upgrade path between the two, the installer will install Enterprise into a different folder, thus allowing side-by-side installations of the two SKUs. VS2017 Pro is installed into "C:\Program Files (x86)\Micr…

  4. Get/set project-level config/platform at the solution level

    Is there a way to define the config/platform at the solution level instead of configuring each project? I have some solution files that use non-standard configurations and don't define a default in the msbuild (.*proj) files, so I'm having to set the configuration and platform on each project. It …

  5. Stuck at "Loading projects (37 of 36)"

    Yes, there are definitely some non-normal platform/configuration settings in play. Thanks for looking into this. Love your product and it's become one of my primary dev tools!

  6. Stuck at "Loading projects (37 of 36)"

    FYI: I submitted a report from within Visual Studio referencing this forum post.

  7. Stuck at "Loading projects (37 of 36)"

    I'm adding NCrunch to a new project (I changed jobs, so starting from scratch). Initially, NCrunch had a lot of build errors, so I've been modifying the configuration to try and resolve them. When I change 'Infer project references using assembly names" to "True", NCrunch never fully loads and s…

  8. Quick way to add engine mode conditionals?

    We need to add a lot (~20) of "does not have category" conditionals to a custom engine mode. It looks like the values written to the .ncrunch file are encoded, so we can't just edit the file directly. Is there another way to quickly add category filters other than "Add Condition" -> pick "does not …

  9. Using v2.6 infered project references causes NCrunch exception

    Excellent! The issue is no longer present in the 2.7.0.2 build. I love this feature. This has been holding back several people where I work who really want to use NCrunch, so I'm excited to get them on this version! Thank you very much for adding this feature and for turning around a fix so fast…

  10. Using v2.6 infered project references causes NCrunch exception

    Bug report submitted with the same title as this post.

  11. Using v2.6 infered project references causes NCrunch exception

    I have a large solution that uses many dll-based (not project-based) assembly references. I excitedly grabbed the new v2.6 build this morning in order to try out the inferred project references support. Unfortunately, when I enable this on my solution (change the "Infer project references using as…

  12. Tests queued, engine idle with v1.47

    I upgraded to v1.47 and am now seeing an issue where there are frequently several (hundred) tests queued for execution, but the tests never run. The status indicator (circle in lower corner of VS) currently shows an outer green circle (not moving) with "187" inside and green. Hovering over it sh…

  13. Problem with NUnit TestCase attribute

    What about re-using the "not executed" UI experience for tests that are inconclusive? So if I have Assert.Ignore() in my test, the results of my test run up until that point would effectively be thrown out by ncrunch (ie: they would not be considered for coverage indicators) and the test would show…

  14. Debug covering tests not catching StackOverflowException

    To reproduce, I'm using the following NUnit test fixture: [TestFixture] public class Temp { [Test] public void StackOverflowTest() { StackOverflowTest(); } } Note: you'll have to run it once with the self-referencing call commented…

  15. Debug covering tests not catching StackOverflowException

    If a unit tests ends up generating a StackOverflowException, and I run that test using the "Debug covering test in new task runner process" NCrunch context menu option, when the exception occurs, the debug process just ends. It would be preferred if the debugger paused at the instance of the except…

  16. VS2012 RC split window loses indicators

    Two more quick notes: 1) I notice that NCrunch shows the "Abnormal runtime assembly reference resolution detected" message for my test assembly. I haven't figured out why yet, and tests run fine. Not sure if this is related to the memory issues. 2) I had a company meeting yesterday, during w…

  17. VS2012 RC split window loses indicators

    Re: memory usage. Just watching the memory usage over the last 24 hours, I've seen it grow from 226KB to 1.3GB. Specific readings below. What additional information can I collect for you to help determine what's being stored in memory? Would a bug report from within VS provide any snapshot det…

  18. VS2012 RC split window loses indicators

    The memory issues are slow leaks over time, as best as I can tell. It's not something I monitor that closely, as my dev machine usually has plenty of memory to spare. I did notice later that same day the two BuildHost processes were up to 1.3 GB each. However, they are currently at 200MB each. I…

  19. VS2012 RC split window loses indicators

    In VS2012 RC, when editing a source file (C# in my case), if you split the window (menubar: Windows -> Split), the top window frame no longer has the ncrunch red/green indicators, while the bottom frame does. If you then remove the window split, the top window survives, thus the file no longer has …

  20. VS2012 RC undocked editor becomes uneditable after ncrunch flyout

    Also submitted a bug report from within VS with the same name In VS2010 RC, if I have a C# file undocked (pulled off to second monitor) and I click on the NCrunch red/green indicator next to any line of code, the file editor stops responding to keyboard input. Speficically, I can no longer use t…