Writing unit tests for multi-threaded is not simple and could even be impossible for some scenarios – how could you test that an asynchronous method was not called?Since most unit testing examples tend to be rather trivial I’ve decided to try and explain other more complex scenarios – preferably without using any calculator examples.The “Timer” … Continue reading Unit testing multi threaded code–Timers
Tag: Typemock
Creating robust tests with Isolator V7
The problem with unit tests is that they keep on breaking…Obviously that’s not entirely correct, nevertheless I had the pleasure of hearing the sentence above numerous times. It’s true – unit tests do tend to fail and we prefer that they fail only when a regression occurs – when something that used to work stopped … Continue reading Creating robust tests with Isolator V7
Software news – February 2012
It’s been a while since last I’ve written about new releases and features in software I like so I’ve decided to shine a light on three software development tools I love, two exiting beta releases and one hidden feature brought into the light: SharpDevelop 4.2 Beta The open source, light free .NET IDE has just … Continue reading Software news – February 2012