Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Static variables and methods within Owin test server

    Hi Ant, My first thought is that these routes may be stored statically, so recreating them may be giving the duplication error. The tests would thus be state/sequence dependent. It should be possible to analyse this behaviour by debugging multiple tests within the same execution run, and examin…

  2. NCrunch is not seeing some tests

    Hi, thanks for sharing this issue. Do the tests run when you target them directly through the Tests Window? Are any of your tests being generated using TestCaseSource? Are you making use of distributed processing or Capabilities in any way? Also, could you submit a bug report when you've…

  3. NCrunch Engine crashing

    [quote=Beaker;8959] Unfortunately I cannot remember what I did. Before removing the cache folder I zipped it. If you want I can sent it to you, so you can examine what is corrupt. Maybe this can help you. Furthermore this is a BizTalk solution, thus during build there are a lot of special builds…

  4. Console tool reports "weird" Build Results

    Thanks, it's great to hear that you managed to identify the problem. I admit that I'm not sure how to sensibly handle such a scenario using the existing return codes, as there may be perfectly valid reasons for why a test wasn't executed in a run. To expect any unexecuted test to be an error sit…

  5. Console tool reports "weird" Build Results

    Are your tests making use of any [url=http://www.ncrunch.net/documentation/reference_global-configuration_capabilities-of-this-computer]capabilities[/url]? It looks like the tests are being queued, but the engine is electing not to run them. Are you using the console tool on a dev machine, or on…

  6. Console tool reports "weird" Build Results

    Hi, This looks like an installation issue with the console tool. If I were to guess, I would say that the console tool is loading an older version of its modules when attempting to run the build. Possibly when it was initially installed, the modules were extracted without the directory inform…

  7. NCrunch 2.23.0.2 continually prompts me to 'Save As' any open source files

    Thanks for confirming! Maybe check if Tortoise have a fix for this .. I've usually found this project to be fairly reliable (historically anyway).

  8. slow typing in VS2015

    [quote=randomsolutions;8946]My team is also having the issues described in this thread ever since upgrading to VS2015. Doing the build property change mentioned above seems to have fixed it.[/quote] Thanks for confirming this. I have a theory here now on what is happening here. The VBCSCompil…

  9. How To Throw Custom Exception

    Hi Steve, Thanks for posting. If I understand what is happening here, this doesn't seem to be a problem related to NCrunch itself. I believe this code is throwing an NRE on the _queryDispatcher.Dispatch method because in the context of the test, the _queryDispatcher field is never set. I…

  10. netstandard support

    Hi Kent, Thanks for making me aware of this. This particular framework hadn't been on my radar. Based on its relationship to .NET Core (aka DNX), I would say I'll need to assess this when integrating with .NET Core. As such, you can probably consider it part of this work - [dead link].

  11. Grid node: hard drive filled quickly...

    [quote=MatthewSteeples;8941] Thanks (as usual) for the quick and thorough response. That's roughly what I was expecting so we'll work around it. One thing I did notice is that one of our resources is being copied when it probably doesn't need to be (and this is 20mb in size). We're not actually cop…

  12. Grid node: hard drive filled quickly...

    On the grid node, only the size of the snapshot storage directory can be directly limited through configuration. There is no way the grid node itself can directly restrict the overall size of the workspaces without massive complexity and loss in performance. The engine builds workspaces as it ne…

  13. NCrunch Engine crashing

    Hi, Thanks for sharing this issue. This is caused by cache file corruption. You can restore the state of the engine by deleting the _NCrunch_SOLUTIONNAME directory adjacent to your solution file (with the engine disabled). Do you remember anything you may have done that could have triggere…

  14. Unit tests show as failing when they shouldn't

    Hi, thanks for sharing this issue. Most likely these tests are sequence or state dependent in a way that wasn't designed with the way that NCrunch can re-use test processes. See here for more information - [url=http://www.ncrunch.net/documentation/considerations-and-constraints_test-atomicity]ht…

  15. Ncrunch doesn't seem to be highlighting the start of tests in scenario outlines in feature files

    Hi Sam, Can you confirm that this is a regression in 2.23? 2.23 did introduce some very significant internal changes around how code coverage is handled. It's possible that it no longer allows a test to start on a line that isn't reported as covered code by the test. If this is indeed the case…

  16. Inconclusive tests sometimes not treated as passing

    [quote=jschreuder;8928] Sorry to go off topic, but is the licence policy on major versions any different? Or if I've bought a key in the last 12 months it will work for v3?[/quote] There will be no change to licensing or pricing. You could effectively consider it the same as 2.24.

  17. NCrunch cannot build VS 'Analyzer with Code Fix' project in VS 2015 Update 3

    Hi, thanks for sharing this issue. NCrunch automatically disables pre and post build events that are declared using the PreBuildEvent and PostBuildEvent MSBuild properties. Note that this is distinctly different from BeforeBuild and AfterBuild targets (which are custom coded MSBuild hooks in the…

  18. slow typing in VS2015

    I think it may be worth disabling the VBCSCompiler process to see if this resolves the issue. A bit of background on this process: VBCSCompiler.exe was introduced as part of Roslyn. It basically executes the core compiler code and because it is quite an expensive process to initialise, Roslyn i…

  19. Problem with MFakes when Fakes compiled outside test project

    Hi Dmitry, Unfortunately it's difficult for me to promise that I can find a way to make NCrunch work with such a scenario. MS Fakes itself is a Microsoft product and NCrunch's integration with this product was particularly challenging as there is no 'official' way in which Microsoft supports Fak…

  20. Underscore symbol is not shown on the Test windows output

    [quote=Stanislaw;8922]I have changed the text output font to Consolas - and it is all ok now.[/quote] This seems to be a problem on some systems related to font rendering. I haven't been able to reproduce it. I assume it has something to do with the O/S configuration or graphics card. Changing…