TestDriven.Net Options Pane In the latest version of TestDriven.Net you

January 4, 2009 – 1:00 am

TestDriven.Net Options Pane

options

In the latest version of TestDriven.Net you will find a new options pane. The options are as follows:

Hide trace/debug output when running all tests in project/solution

In the past this setting has always been hardwired to true. It means you can add trace information to a test without cluttering up the Test output pane when all tests are executed. An alternative way to ensure a message will always appear in the output is to use Console.WriteLine rather than Trace.WriteLine . This also means the verbose Gallio/MbUnit test run output will show up when executing all tests in a project.

Cache test process between test runs

By default the external test process will be cached when the Run Test(s) command is used. This process appears in the tool tray as a rocket icon which can be used to kill the process. This is fine unless one of your tests starts leaking leaking native resources (such as leaving open a file handle). The best solution is to fix the resource leak, but you now have to option to work around the issue by killing the test process at the end of each test run. This can be useful if the resource leak is in a 3rd party DLL which can t be easily be changed.

Categories

This option supports the most common use of test categories; you can choose to include or exclude a selection of categories. This is useful if you want to exclude long running tests or if your machine isn t configured to execute integration tests. This feature is currently only supported by the NUnit runner that comes with TestDriven.Net, but I believe it will be supported by a a future version of Gallio.

You can specify your NUnit test categories like this:

    [Test, Category("LongRunning")] 
    public void LongRunning() 
    { 
        Thread.Sleep(10000); 
    } 

There are lots of features in TestDriven.Net that could be exposed as options. I ll try to resist this temptation as much as possible, but I m sure a few more will creep in. ;-)

Designing Crystal Reports for Users
I do not have any artistic talent; I am a developer. How many times have you heard this before? Perhaps it was you that made this statement. Today’s GUI development demands a certain sense of style that many developers lack. In this article, Jeff covers tools and basic tips to aid an artistically challenged developer in creating Crystal Reports that are professional and usable with the help of detailed explanations followed by relevant screen shots. Towards the end of the article, he examines a few design specifics such as Margins, Templates, and Dynamic Images.
Jeff McWherter

I want to learn jQuery, where do I start?
At the beginning of course The guys over at ThemeForest have created a ton of short but informative video tutorials on jQuery. From downloading and setting up the framework, right the way through to numerous posts on how to use the Framework. You can find all their tutorials here: http://blog.themeforest.net/category/tutorials/ jQuery is the newest craze […]

Goals for 2009
Yeah, I?m going to join the throngs of bloggers spewing out new years? resolutions so bite me 1) Return to gym and lost at least 10kg and at least two pants sizes 2) Get more research in MVC and jQuery done 3) Launch an awesome new project with Paul, Jameel and Andre 4) Start making more money […]

StevenMcD.Net undergoing a Theme Change
I apologize for any problems but I?m currently applying a new theme to StevenMcD.Net so everything may go slightly crazy for an hour or two, but the result will be worth it, no doubt!

You must be logged in to post a comment.