New Pluralsight course – Unit Testing C Code in CLion

From time to time I get the feeling that I have too much free time and so I set myself and look for new challenges, and although the last year has been challenging to all of us I’ve still found myself committed to create another unit testing course for Pluralsight. This time it’s unit testing … Continue reading New Pluralsight course – Unit Testing C Code in CLion

Easily create builders for your tests using Intellij IDEA

The builder pattern is one of the more useful patterns out there when creation unit tests. Instead of having a huge initialization such as: You can instead create a simple user builder object for your tests that would initialize all of the object’s properties with default values (not empty) – since you do not really … Continue reading Easily create builders for your tests using Intellij IDEA

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

Assert.AreEqual in MSTest – done right

Every unit testing framework out there comes with a plethora of assertion methods – this is not necessarily a good thing. Instead of writing simple code a developer is forced to choose the correct assertion method from a seemingly endless list of methods, most of which look exactly the same! Having multiple overloaded methods with … Continue reading Assert.AreEqual in MSTest – done right

New Pluralsight course: C++ Unit Testing Fundamentals Using Catch

Last week my very first Pluralsight course went live!My course on unit testing in C++ using CATCH is ready for your viewing pleasure. It’s about a topic I’m passionate about – how to write good unit tests, I’ve used Catch because I found that it helps writing good tests while avoiding many of the pitfalls … Continue reading New Pluralsight course: C++ Unit Testing Fundamentals Using Catch