Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. 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…

  2. 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).

  3. 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…

  4. 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…

  5. 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 - [url=https://ncrunch…

  6. 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…

  7. 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…

  8. 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…

  9. 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…

  10. 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…

  11. 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.

  12. 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…

  13. 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…

  14. 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…

  15. 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…

  16. Solution without metrics

    [quote=fsdschmidt;8917] I assume that you expect the pdb at the default path and can´t find it. So may be you could analyze the project for the PdbFile property or you could also read the pdb from the output assembly. [/quote] This is correct. NCrunch always assumes that the PDB is co-located …

  17. Binaries Not Built while trying to execute test case

    Thanks Anees. The next thing, if you haven't tried this yet, is to set up [url=http://www.ncrunch.net/documentation/troubleshooting_compatibility-mode]compatibility mode[/url] in your configuration and see if this solves the problem. Beyond this, troubleshooting becomes deductive. We need to …

  18. slow typing in VS2015

    I've been doing a bit more thinking about possible causes of performance problems under VS2015. Since you've mentioned that the perf issues seem to be related to build activity and started only after upgrading to VS2015, I'm wondering if you may be able to take a look at the processor consumption…

  19. Solution without metrics

    [quote=fsdschmidt;8912]The new test project is a good approach, the metrics are fine for this project. But when I reference one of the other assemblies and test through real code, I see no metrics and no markers inside our business logic. But the calling test has still markers! I will compare the pr…

  20. Solution without metrics

    [quote=fsdschmidt;8910]Ok I have updated to the newest version now and cleared all the configuration and cached data but unfortunately I have still no metrics. I submitted a bug report with link to this thread and looking forward to your results.[/quote] Thanks for sending through the report. Un…