March 28th, 2010

Illuminati

Delicious LiveJournal Links for 3-28-2010

South Park Santa

Testing Framework Fun

The most exciting time at work in the last few days was when I discovered that the profiler I'd downloaded wouldn't profile signed DLLs or EXEs (and that NUnit is signed), so I ended up writing my own version of NUnit, and discovering that it wasn't that hard to do the basics. Or at least, it took me about an hour to knock together something that searches a DLL for classes tagged as fixtures, checks each one for test methods, setup methods and teardown methods, and then calls them all in the order you'd expect. It was good enough to run through our complete test suite, in about 1/4 of the time that NUnit takes. Which makes me think that the reason our test suite takes as long as it does is due to something that NUnit is doing with each test - possibly creating a new AppDomain for each test, or something else to keep them all separated from each other. I'm going to have a play with it on Monday and see if I can figure out a little more, but it's nice to know that the slowness isn't actually in our code.
STFU says the doctor

I can only see things when they move

It wasn't until 5:00 this eveninng, when I stopped feeling rubbish, that I realised that I've been feeling pretty rubbish for about 3 days. I now have a bit of a sore throat, but the general feeling of "blech" that's been having over me since Thursday-ish has thankfully retreated. It's funny how this happens to me - I'm so used to waking up feeling rubbish that I don't tend to notice when it doesn't lift all day.