Archives
-
The need for nullable reference types to advertise optional constructor dependencies
In "traditional" OOP, you advertise your class required dependencies via constructor arguments:
-
Do you really care about Stub vs Mock?
I've argued in the past that this theoretical discussion is utterly useless. In my experience you need slightly different things from your test doubles at different times and depending on the scenarios and what you care about testing in a particular test.
-
Mocking protected members with Moq
If you're familiar with Moq, you know that it relies on lambda expressions heavily. This is very good as you get full support from intellisense and refactoring features in Visual Studio. However, it also means you're for the most part restricted to setting expectations on things that your code has access too (public or internal members).
-
Moq 2.5 shipped: lots of good news!
Today we shipped Moq v2.5. It's been a while since RC1 (a month or so feels so long for an open source agile project!) and we god very good feedback and suggestions for the final release. I'm pretty happy with the current drop and felt it was time for a new stable release.
-
Cool ajax loader image generator
Just found (via Brian) about this cool site to generate ajax-like loading donnuts like this one: