Using C# anonymous types to assert complex results in your unit tests

Does this sounds familiar to you: You come to work early(ish) in the morning - ready to apply a new technology you've just learnt about - just to find out that you can't. Your frustration grows as you understand that in order to use this "new and shiny" some adjustments must be made and what … Continue reading Using C# anonymous types to assert complex results in your unit tests

How to count the number of event invocations using Rx

A while ago I've needed to count the number of events arriving from an external system and perform a specific task once a specific threshold has been reached. I've needed to count groups of events each group had it's own unique key. Although I might have been able to solve this problem using a dictionary … Continue reading How to count the number of event invocations using Rx

New Pluralsight course: Advanced C++ Mocking Using Google Mock

My latest course: Advanced C++ Mocking Using Google Mock was published during the weekend. After finishing my very first Pluralsight course I knew I want to author another one. I've been working with C++, Java and .NET developers for the last five years, teaching about clean code, design patterns and unit testing. I've seen good developers struggle with TDD, … Continue reading New Pluralsight course: Advanced C++ Mocking Using Google Mock