Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
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…
13 Jul 2016 12:50 UTC
-
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…
13 Jul 2016 02:08 UTC
-
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…
12 Jul 2016 10:29 UTC
-
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…
12 Jul 2016 08:23 UTC
-
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…
12 Jul 2016 06:18 UTC
-
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…
12 Jul 2016 01:50 UTC
-
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).
12 Jul 2016 01:47 UTC
-
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…
12 Jul 2016 01:40 UTC
-
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…
12 Jul 2016 01:28 UTC
-
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].
12 Jul 2016 01:00 UTC
-
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…
08 Jul 2016 23:59 UTC
-
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…
08 Jul 2016 12:22 UTC
-
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…
08 Jul 2016 10:33 UTC
-
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…
08 Jul 2016 04:46 UTC
-
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…
07 Jul 2016 10:30 UTC
-
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.
07 Jul 2016 00:42 UTC
-
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…
06 Jul 2016 06:13 UTC
-
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…
05 Jul 2016 13:15 UTC
-
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…
05 Jul 2016 13:02 UTC
-
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…
05 Jul 2016 12:49 UTC