Nice extension methods for NUnit

Friday, March 27th, 2009

I like it when the code reads easily. These extension methods make unit tests read like a book:

http://code.google.com/p/nunit-extmethods/

using cassini and watin with nunit

Thursday, March 12th, 2009

Watin is a great tool for testing that your site has the correct elements on it and it does as you expect when someone clicks a button. The problem is you have to have your website actually running and in most cases you don’t when you are running unit tests.

To solve this problem you can use cassini which is the dev server that visual studio uses.

I am going to have a go at using this to run my tests against. These blog posts look like a good place to start:

http://stackoverflow.com/questions/328566/starting-asp-net-development-web-server-cassini-as-part-of-unit-test-setup

http://timescott.wordpress.com/2008/12/09/running-integration-tests-using-cassini/

Normal usage needs cassini.dll adding to the GAC. Use this to add and remove from the GAC:

To add a shared assembly, from the command line enter:

    gacutil.exe /i myassembly.dll

To remove a shared assembly, from the command line enter:

    gacutil.exe /u myassembly.dll

I want to do this without the dependency of cassini being in the GAC so I will try this next:

http://www.hanselman.com/blog/NUnitUnitTestingOfASPNETPagesBaseClassesControlsAndOtherWidgetryUsingCassiniASPNETWebMatrixVisualStudioWebDeveloper.aspx

checking for duplicate code in c#

Tuesday, March 10th, 2009

https://blogs.conchango.com/howardvanrooijen/archive/2006/02/18/2888.aspx

nhibernate search - lucene arama

Monday, March 9th, 2009

http://blogs.intesoft.net/post/2008/03/NHibernateSearch-using-Lucene-NET-Full-Text-Index-Part1.aspx

resharper templates

Friday, March 6th, 2009

[Test]
public void $method_name$()
{
$END$
}

my next project - myth TV

Friday, March 6th, 2009

http://parker1.co.uk/mythtv_ubuntu.php

openvpn on the readynas duo

Tuesday, March 3rd, 2009

http://www.readynas.com/forum/viewtopic.php?f=18&t=17587&p=94816