Forum member

yanglee

89 posts

Posts by yanglee

  1. Support colored console output in Tests window

    Hi Remco, Serilog uses [url=http://msdn.microsoft.com/en-us/library/system.consolecolor.aspx]ConsoleColor [/url]to control console output color, similar to the code below: [code=csharp]Console.BackgroundColor = ConsoleColor.Red; Console.ForegroundColor = ConsoleColor.Black; Console.WriteLine…

  2. Option to change font size of Tests window output

    Hi, Most of the time I dock the Tests window to the right side in Visual Studio. Currently the output can only display 39 characters in a line on my screen (24", 150% DPI). When I need to see more outputs, I use a Visual Studio extension [url=http://visualstudiogallery.msdn.microsoft.com/35966…

  3. Support colored console output in Tests window

    Hi, I use [url=http://serilog.net/]Serilog [/url] as logging framework in my apps. It can generate colored console output. It would be great if the colors can be displayed in Tests window output. [img]http://nblumhardt.com/wp-content/uploads/2013/05/ColoredConsoleSinkDemo.png[/img]

  4. Issue when using conditional compilation symbols in linked file

    Hi, Here is an example project that can reproduce the issue: [url=https://dl.dropboxusercontent.com/u/46508238/forum.ncrunch.net/TestNCrunch-2013-06-01.zip]https://dl.dropboxusercontent.com/u/46508238/forum.ncrunch.net/TestNCrunch-2013-06-01.zip[/url] Steps to reproduce the issue: 1. Create …

  5. Make NCrunch's NuGet package support Portable Class Library

    Ah, just realized instead of creating my own Nuget package, I can add the following class in my project: [code=csharp] public class TestEnvironment { public static bool IsTesting() { #if (NUNIT || NCRUNCH) return true; #else return false; #en…

  6. Make NCrunch's NuGet package support Portable Class Library

    Hi, NCrunch's official NuGet package does not support PCL (I workaround-ed this by coping the NCrunch.Framework.dll file from the package and creating my own NuGet package that support PCL). The feature I want to use in PCL is: NCrunch.Framework.NCrunchEnvironment.NCrunchIsResident() Althou…

  7. Issue when using NCrunch with Code Contracts and Fody

    Thanks for your response. I used "Debug: All runtime contracts, no static analysis" (tried static analysis before but unbearably slow, so turned it off), but still too slow on my machine (it's a slow machine built several years ago). I plan to upgrade my machine later this year then test again…

  8. Issue when using NCrunch with Code Contracts and Fody

    Just uninstalled Code Contacts from my machine. I think I won't try it again for a long time. It greatly slows down build time, sometimes it didn't throw exceptions when it should, and have compatibility issues with some tools. [b]Edit[/b]: Fixed typo.

  9. Display execution time besides markers when a test runs too slow

    An integration / acceptance test could take many seconds to run. It would be very helpful if I know how many seconds a test / line costs when it takes too long (currently mouse over a marker displays the execution time for a line, but that is not very convenient). [img](- BROKEN LINK -)[/img] …

  10. Highlight failing test code

    Hello, See the image below. In order to locate the failing code, I need to move my eye balls to the (far) left then move them back to right. [img](- BROKEN LINK -)[/img] Would be nice if I could customize the background & border colors for failing code. [img](- BROKEN LINK -)[/img] Ch…

  11. "go to selected test" extreamly slow when open a test file the first time

    Have not experienced this issue since disabled VS10X Code Map 2 days ago. I will raise a bug with them.

  12. "go to selected test" extreamly slow when open a test file the first time

    [quote]Of particular interest to me in the stack trace is this component: AxTools.VS10X.CodeMap.dll It looks as though the component (a VS plugin/package?) is performing a major visual refresh in response to either the navigation instruction, or the document query. Is this a plugin you've instal…

  13. "go to selected test" extreamly slow when open a test file the first time

    Got it :) [code=plain]Not Flagged 5880 1 Main Thread Main Thread System.Array.Copy() Normal mscorlib.dll!System.Array.Copy(System.Array sourceArray, long sourceIndex, System.Array destinationArray, long destinationIndex, long length) + 0xac bytes WindowsBase.dll!System.Windows.DependencyObje…

  14. "go to selected test" extreamly slow when open a test file the first time

    Sorry for my late replay. I tried multiple times to capture the stack trace of the main thread when the issue happens. But didn't catch the System.Array.Copy() again. Today the symptom is not as bad as before, but still takes 30+ seconds to open a test file when issue happens. Capture 1: [c…

  15. "go to selected test" extreamly slow when open a test file the first time

    [quote=Remco;4057]Do you notice any patterns around memory utilisation or NCrunch when this happens?[/quote] Memory utilization seems to be normal (NCrunch < 100 MB, devenv.exe < 1000MB). When the issue happens, NCrunch's CPU usage is < 1%, while devenv.exe ~ 25% (4 core CPU). [quote]I.e. do …

  16. "go to selected test" extreamly slow when open a test file the first time

    Hi, I noticed this since about 2 weeks ago. When a solution is just started, everything is OK. But after I worked on the solution for about 30~90 minutes, I begin experience the following issue: 1. In the NCrunch Tests window, double click a test to open a test file. 2. The UI will freeze …

  17. Issue when using NCrunch with Code Contracts and Fody

    Hi, Just found an issue when using the following tools together (Resharper works fine): 1. NCrunch 1.45.0.12 2. Code Contracts for .NET 1.5.60409.11 3. Fody 1.13.6.1 4. ProperyChanged.Fody 1.36.2.3 5. EmptyConstructor.Fody 0.4.1.1 Here is an example project that can reproduce the issue: …

  18. Support for Visual Studio's Profiler

    Rodney, FYI, dotTrace can profile both NUnit and MSTest tests. The major reason I purchased it is for profiling unit tests. It integrates with Resharper, takes only 3 clicks to run and profile a test. Personal license is 299 USD (they offer a discount price at 189 USD between April 15th and 22…

  19. Move AutoEnableOnStartup to ncrunchsolution.user file

    +1. I was about to post this feature request with the same title and reasons.

  20. NCrunch is stuck

    I have not experienced this issue again since upgraded to v1.43 about 12 days ago. Seems fixed. Cheers!