Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Can not build project when it uses a specflow plugin to generate NCrunch test attributes
Ok - do let me know if you manage to pin it down. I was thinking that this would be particularly useful to include for other SpecFlow users. I've had questions before from people wondering how to best include NCrunch attributes in their SpecFlow tests. Until now, my answer has always been to cr…
28 Jan 2014 22:58 UTC
-
NCrunch and RazorGenerator.MsBuild
Excellent. Thanks!
28 Jan 2014 11:13 UTC
-
comparing algorithm performance
There are plans to introduce an export feature to export the contents of the Tests Window. Would this also work for you?
28 Jan 2014 02:16 UTC
-
Test fails in NCrunch and passes in other runners.
Ahh that makes sense. I had thought that the issue also affected CLR 2, but it was more than a year since I analysed it .. and I may have remembered incorrectly. There have also been changes to the CLR through Windows Update, which does sometimes make it difficult to pin down behaviour over time w…
28 Jan 2014 02:15 UTC
-
Test fails in NCrunch and passes in other runners.
The reason for the difference is that NUnit doesn't instrument the code as NCrunch does. NCrunch's performance instrumentation makes heavy use of try/finally blocks, which tend to surface this behaviour on machines that have .NET 4.5 installed. Interestingly, the problem also applies to versions…
28 Jan 2014 00:26 UTC
-
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