I use XUnit and Resharper to run my tests. In a given project I usually have a few utility tests which are not really tests but exist purely so I can execute a bit of code easily. For example, I have a test which outputs my NHibernate mappings (I use Fluent NHibernate) to a temporary directory. I don’t really like having these as tests, is there a better way to simply “run a method” other than use a testrunner?
Share
If you have a TestDriven.net then all you have to do is to just click on the method and it will run. You don’t have to decorate the method with
TestorTestMethodattribute or something like that.testdriven.net has a personal edition, which is free.