Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Projects won't build

    When you say that the directory was missing, do you mean the SalesQuotasViewModelTest directory, or the entire workspace? Sorry for the virus scanner suggestion. I really doubt any kind of virus scanner would do this, but there is something very, very unusual going on in your environment.

  2. Projects won't build

    Sorry, I've conducted a lengthy code review to try and identify scenarios that could create such a situation, but I still cannot reproduce it. From what I can establish, it look as though the only way this could have occurred is if the file was somehow removed from the workspace. NCrunch would o…

  3. Projects won't build

    Do you remember much around what you were doing just before this error occurred? Were you moving or renaming files? Was the ApplyCommand.cs somehow removed from your foreground solution? If so, how was it removed?

  4. Execution error in integration test using Oracle

    This makes sense. The behaviour of the ODP.NET library is making the tests that run over it sequence dependent. Whichever test hits it first then sets the state for the task runner process and all tests that follow. If you were running MSTest or NUnit, my suggestion would be to introduce a SetU…

  5. Execution error in integration test using Oracle

    Sorry, I'm having a hard time understanding the life cycle of the steps of code involved in your test. Can you share some more details about how you are using this environment variable and how it is interpreted? Is there any other code that may be manipulating this environment variable? Because…

  6. Projects won't build

    MSBuild can be quite obscure in this way, and it can make your projects appear to be building in situations where they shouldn't be. The 1.43 release is just a few days away, and it includes a change that checks for situations like this and will alert you to them. The warning will pick up any re…

  7. NCrunch doesn't assign default values to nullable types

    Hi, thanks for reporting this problem. The issue appears to be related to NCrunch's instrumentation of the assembly containing this method. For some reason, the instrumentation is dropping a critical piece of metadata (namely, the '= true') from the parameter. Methods calling 'HasValue' will wo…

  8. Proud owner of a new NCrunch license!

    Thanks Kevin, for both the encouragement and the licence purchase!!! I hope the tool continues to live up to your expectations, and will do my utmost to exceed them :) Cheers, Remco

  9. Execution error in integration test using Oracle

    Generally it is good practice to avoid placing test setup code of any kind inside overridden test attributes. There are no guarantees on when this code will be executed by a test runner, as the attributes can be constructed and called purely by analysis steps that do not involve executing the test …

  10. Visualise coverage per test

    Hi Andy - Thanks for the suggestion! Out of interest, have you tried making use of the 'Show code coverage for this test only' option under the 'Advanced' context menu when you right click on a test? Generally when I'm following a similar use case, this is what I use myself. Does it solve th…

  11. Move AutoEnableOnStartup to ncrunchsolution.user file

    Thanks for the suggestion - this makes good sense. I'll see what I can do.

  12. Debug.Assert messages should be filtered out

    Hi LP - Thanks for the detailed explanation. This really helps a lot with understanding the reasoning behind why your codebase works the way it does, and the constraints of the environment you're working in. I'm not sure if I can implement a direct solution in NCrunch that is specific to this p…

  13. NCrunch with dark theme

    The top icons were the hard part, unfortunately. Full alignment with the dark theme would likely require a complete UI redesign and rebuild from near scratch, which I'm afraid won't be happening in NCrunch V1. However, v1.43 will include a new dialog that makes configuring the colors a bit eas…

  14. Fix expired NCrunch

    Hi Jim, Can you share the exact message (word for word) that NCrunch is showing you? Is it complaining about evaluation license expiry? Also - when you load into VS with the version expired, what is the version shown under NCrunch->About? Cheers, Remco

  15. Analysis fails

    Agreed. Thanks for reporting this, I'll see what I can do about fixing it. Cheers, Remco

  16. NCrunch with dark theme

    Hi Archie - Colour configuration for the NCrunch tool windows was a late change in the 1.42 release, so as-yet there isn't any VS integration behind this, although it is possible to change the colours of your tool windows via the NCrunch [url=http://www.ncrunch.net/documentation/reference_global-…

  17. c++ filenames not fixed-up in stack traces

    Setting files as read-only is certainly one way, but this would also make the workspaces less aligned with the foreground solution (i.e. where the files are not read-only), increasing the risk of people experiencing unexpected problems. One quick-fix could be to simply remove all stack trace naviga…

  18. Add the ability to ignore/hide a build

    Hi Jeff - Great suggestion around accessing the configuration from the tests window. I'll see what I can do. Thanks! Remco

  19. c++ filenames not fixed-up in stack traces

    Hi, thanks for sharing this issue! I can understand the frustration behind looking at the wrong source file (earlier versions of NCrunch did this to me very often). NCrunch basically fixes up the stack traces through its instrumentation. Because the instrumentation doesn't support C++ assembl…

  20. Debug.Assert messages should be filtered out

    Hi, thanks for sharing this issue! I can see how this would be frustrating. Would you be able to share some more details about how your code normally works outside NCrunch? My expectation is that other test runners would likely behave the same (although I'm not suggesting that this would be a m…