My new favorite .Net unit test framework

I recently had a chance to really sink my teeth into xUnit.net. Since I’ve been stuck with CPPUnit for quite some time and working with xUnit.net was a relief. Compared to NUnit I find xUnit much easier and convenient to work with (and compared with CPPUnit it’s in a class of it own). I feel…

1

Sleep does not sleep for a specified period

I recently described how you can create your own usleep method when there isn’t one to use. one thing that people however tend to forget is that the sleep methods (sleep, usleep, nanosleep) only guarantees that the calling thread will be suspended for at least the given time. There is absolutely no guarantee that the…

0

A summary of an Agile 2008 summary

I didn’t have the opportunity to attend the recent Agile 2008 conference in Toronto but I attended a summary presentation a few weeks ago. These are the key points that excited me. Celebrate your failures! People typically feel bad when they fail at something. But if nobody knows you’ve failed you don’t feel so bad. But…

0

Sleep less than one millisecond

On windows you have a problem you typically never encounter on Unix. That is how to get a thread to sleep for less than one millisecond. On Unix you typically have a number of choices (sleep, usleep and nanosleep) to fit your needs. On windows however there is only Sleep with millisecond granularity. You can…

1

Yet Another Tale from an Interview

There seems to be a lot of myths around the interview procedure at Microsoft. I had my interview a little more than a year ago and coming from Sweden it was a big difference to have the interview in the US. The interview is (as described in the myths) basically two parts. First half is…

1