Guardian’s Home

.NET, Software Developing, Mammoths and Various Life Things…

NUnitit: Visual Studio Addin to support NUnit and some customizations to it

with one comment

These days I’m heavily working on NUnit to build some extensions to the testing framework we need on our projects. We need a simple way to launch our tests inside visual studio while developing. Our first solution was to use TestDriven.NET or the Reshaper implementation of NUnit.

However both these approaches have some limitation I actually don’t like, especially when it comes to the use of NUnit addins. Resharper do not have full support installing and using NUnit addins, and TestDriven.net will force you to use it’s embedded version of NUnit to let the addin launch the environment and the tests.

I started to look around and found NUnitit on CodePlex, Nunitit is an addin that allows you to run and debug NUnit projects within Visual Studio.

In its actual implementation it has however some limitations: you have to set the project you want to run as the startup project and you cannot run single tests (like TestDriven.net for example).

So I took the code and added some of the missing functionalities, now you can:

  • Run the currently selected project in the solution explorer in the NUnit GUI.
  • Run the currently selected project in the solution explorer in the NUnit console.
  • Run a single test (open a file and place the caret on the test you want to run) using the NUnit console.

I posted my code to the original author of the addin, I hope they will be integrated in the official version too.

Here are the code and the installation files:



kick it on DotNetKicks.com

Written by Guardian

June 26th, 2009 at 8:19 am

Posted in .Net, NUnit, Visual Studio

Tagged with , ,

WPF: a generic ‘server-side’ pagination data provider

without comments

Sooner or later everyone face the problem of having to deal with paginated data in WPF, paginating a collection is quite easy and you can refer to one of my previous posts too (http://www.nablasoft.com/guardian/index.php/2008/09/08/silverlight-a-generic-pagination-control/ and http://www.nablasoft.com/guardian/index.php/2008/09/19/silverlight-pagination-control-bug-fixed/).
This time I needed a way to interact with some WCF services that I have to use in order to [...]



kick it on DotNetKicks.com

Written by Guardian

June 18th, 2009 at 6:44 am

Posted in .Net, WPF

Tagged with , ,

Tomcat Troubles while installing JetBrains TeamCity and VMware

without comments

I spent a couple of hours trying to figure out why the Tomcat service of a fresh installation of TeamCity Professional was continuously crashing each time I tried to open the administration console in the browser.
I couldn’t find any useful log of information for that (I’m not really a Tomcat/Apache fan nor expert) so what [...]



kick it on DotNetKicks.com

Written by Guardian

June 11th, 2009 at 7:02 am

Unity: WCF service resolution container extension

without comments

In one of my previous posts I demonstrated how you can build a Castle Windsor facility to create WCF Proxy classes given the interface of the service (Castle Windsor WCF Services Resolution Facility). For my WPF/Silverlight application framework I needed the same feature for the IoC container I’m using there, so here it is how [...]



kick it on DotNetKicks.com

Written by Guardian

June 8th, 2009 at 9:09 am

Posted in .Net, IoC, Silverlight, Unity, WCF

Tagged with , ,

Redmine: a trick to import data from Mantis

without comments

Today I decided to give Redmine a try as my new project management and bug tracking solution, mainly cause I wanted to try its integration with Subversion (given the fact that setting up an integration between Mantis and Subversion is a really painful).
To make things short I installed the Bitnami Remine Stack, then I started [...]



kick it on DotNetKicks.com

Written by Guardian

May 29th, 2009 at 9:53 am

Posted in Tips

Tagged with , , ,