Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Can not build project when it uses a specflow plugin to generate NCrunch test attributes
Thanks for the extra dumps. The inconsistent results here are interesting. I wonder if it may be that the build works in some workspaces but not others? The level of complexity here is reaching a threshold where trying to solve the problem through forum posts may not be the most efficient way. …
27 Jan 2014 23:32 UTC
-
NCrunch and RazorGenerator.MsBuild
Hi Dusan - Thanks for posting! Most likely the precompiler requires that referenced assemblies exist in the output directory of the web application's DLL file. You can fix this by turning on the 'Copy referenced assemblies to workspace' project-level configuration setting for all the projects…
27 Jan 2014 23:12 UTC
-
Test fails in NCrunch and passes in other runners.
Hi, thanks for sharing this issue. It is a known problem caused by the behaviour of the CLR as introduced by changes in v4.5 of the .NET framework. Please see [url=http://forum.ncrunch.net/yaf_postst182_Liveness-extended-with-enabled-timing.aspx]this forum post[/url] for more details. The c…
27 Jan 2014 23:05 UTC
-
NCrunch 2.3 Beta: Slow F# testing under VS2013 Update 1
Wow. It's interesting that NGen would make such a difference in the performance of the compiler. Nice work figuring this out.
26 Jan 2014 23:41 UTC
-
NCrunch v2 BETA 2.3.0.15 - Cannot execute test with MS Fakes.
Sorry - I've just done some more testing on this. It looks like the problem is being caused by changes in the profiler's CLSID. I'll need to fix this in the next beta build. Thanks for taking the time to report this issue.
26 Jan 2014 01:04 UTC
-
NCrunch v2 BETA 2.3.0.15 - Cannot execute test with MS Fakes.
Hi, thanks for sharing this issue. Probably a stupid question - but can you confirm that MS Fakes runs correctly on your machine outside of NCrunch? (i.e. using the VS test runner) If so, I'm wondering if you can try the following: - Set a breakpoint on the first line of your test - Run th…
26 Jan 2014 00:53 UTC
-
Can not build project when it uses a specflow plugin to generate NCrunch test attributes
Hi Sam - There is something strange going on inside this build process, and I think the best way to identify it will be to modify the build scripts themselves to extract some more information. Since the build works correctly in the workspace from a command-line MSBuild call, clearly the files …
26 Jan 2014 00:22 UTC
-
comparing algorithm performance
Not within NCrunch. Something you could try is to wrap the test itself inside a timer, then dump the results to a log file. For example: [Test] public void ExecuteAlgorithmWithPerformanceMeasurement() { var stopWatch = Stopwatch.StartNew(); st…
26 Jan 2014 00:05 UTC
-
comparing algorithm performance
To a limited extent, yes. NCrunch's built-in performance analysis does allow algorithms to be inspected line-by-line for their performance. In theory, if you wrote two tests running two different algorithms, the code coverage should report bottlenecks and the test execution times could give you …
25 Jan 2014 05:43 UTC
-
Intellitrace unavaliable
Hi, NCrunch only loads the Intellitrace profiler when working with MS Fakes, although it does so in a reduced mode with most of the Intellitrace features disabled. Can I take this as a request that you would like to see this feature introduced? Cheers, Remco
24 Jan 2014 23:53 UTC
-
The use of the Windows namespace is reserved
Hi Lee - Thanks for pulling out this information. It looks like this is being caused by an inconsistency between the project's default target platform and the platform required by its dependencies. The good news is that this should be easy to fix. [url=http://www.ncrunch.net/documentation/co…
24 Jan 2014 23:47 UTC
-
NCrunch fails to build when reference is on another drive
I saw the bug report come through. This is perfect. Thanks! This is a high priority fix and it will be in the next build. I'm expecting the next build to be the RTM of V2 which will be out within the next 2 weeks. NCrunch V1 doesn't use the same file path translation system, so you might be a…
24 Jan 2014 09:29 UTC
-
NCrunch fails to build when reference is on another drive
Hi, thanks for posting and for giving NCrunch a try! Would you be able to submit a bug report straight after you've had this happen to you? You can do this from inside the NCrunch menu. The bug report will contain useful information for reproducing and fixing the issue. To work around the pr…
24 Jan 2014 07:09 UTC
-
Possible to hide 100%-covered nodes in statistics?
Hi Unger - V2 included a complete replacement of the grid component, for a huge range of reasons. I wasn't aware that the filters on this component were actually working correctly in the Metrics view (when I last tested them, they didn't work). Can I take your post as a suggestion that you wo…
23 Jan 2014 22:27 UTC
-
NCrunch Metrics - Presentation Format
Hi, thanks for this! I'll take a look. Note that you can auto-align the columns for best fit by double-clicking the column separator. Cheers, Remco
23 Jan 2014 22:24 UTC
-
NCrunch.Framework.ExclusivelyUses is not CLSCompliant
Thanks for raising this. At first glance I don't see why the NCrunch.Framework assembly couldn't be made CLSCompliant. I'll take a look and see if its possible. Cheers, Remco
23 Jan 2014 10:12 UTC
-
[TestFixtureSetUp] runs twice with [TestCase] and [Test]
Hi, thanks for posting! The behaviour of NCrunch will be slightly different in running this test compared with other test runners - although it isn't different quite in the way you may think it is. Because NCrunch executes tests in batches, it tends to make multiple calls into a test process t…
23 Jan 2014 03:34 UTC
-
Unicode issues
I'm hoping to fix this in a minor release in V2. V1 is being wound down at the moment as the V2 RTM is very close.
22 Jan 2014 09:07 UTC
-
Unicode issues
Thanks. This would be the same issue tied back to bugs in the richedit control. We really need to get rid of this thing. The fact that it appeared for you after Windows updates is particularly interesting. I wonder if this could have been an update related to the Russian language pack? Regard…
21 Jan 2014 23:38 UTC
-
NCrunch 2.3 Beta: Slow F# testing under VS2013 Update 1
Hi, Thanks for sharing this issue. With the update still very new, I haven't yet had a chance to try it out, but this does sound like a build performance issue in the MS toolset. Do you notice unusually long build times with other project types also? (i.e. C#, VB.NET). Unfortunately NCrunch ca…
21 Jan 2014 21:15 UTC