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: @Test void validateUser_userNameIsEmpty_returnFalse(){ var user = new User(); user.setId("id-1"); user.setName(null); user.setPhoneNumber("555-1234"); // additional user initialization boolean result = userService.validate(user); assertFalse(result); } You can instead create a simple user builder object for … Continue reading Easily create builders for your tests using Intellij IDEA

I’m an AWS Solution Architect – Professional

It has been three years (and a few month) since I've passed the AWS Solution Architect Associate exam and I was thinking about taking my knowledge (and certification) to the next level. And so last Thursday I've spent three and a half hours answering questions about everything AWS and passed the AWS Solution Architect Professional … Continue reading I’m an AWS Solution Architect – Professional

Creating an .NET AWS serverless application using API Gateway with API Key

Today at work I've needed to create a quick solution to provide a client application with data stored in AWS. It has been a while since the last time I've used C# in AWS so I thought I'll give it a try, and after a few hours of tinkering I had a solution up and … Continue reading Creating an .NET AWS serverless application using API Gateway with API Key

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

5 commands to get you up and running with Docker

Docker has revolutionized the way software is being written and deployed throughout our industry. With the use of it's lightweight containers you can deploy your whole environment locally - or in your clients machine quickly and easily. At Practical Software we've used Docker to test how multiple servers behaves when one of them crash and … Continue reading 5 commands to get you up and running with Docker

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