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

Develop (and test) a dockerized, PostgreSQL backed, ASP.NET Core microservice in less than an hour

These days a .NET developer can create, test and deploy powerful software without breaking sweat. Writing a scalable, easily deployable performant ASP.NET Core microservice is easier than ever. The cool thing about using Docker is run automated tests against that soon-to-be-written service in an environment that was quickly created and immediately disposed once the testing … Continue reading Develop (and test) a dockerized, PostgreSQL backed, ASP.NET Core microservice in less than an hour

Using nDepend to understand, and improve legacy code

One of the issues when dealing with legacy code is missing information. Unlike newly developed code which has up to date documentation or at least some developers who know design decisions and implementation details. Legacy code is a completely different story - the original developers usually are not around to answer any questions, documentation is … Continue reading Using nDepend to understand, and improve legacy code

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

Certified! How & Why I’ve Became an AWS Solution Architect

Yesterday I went into a class inside a big building and came out 80 minutes later a certified AWS Solution Architect (associate). It was a hard test and I prepared for it, learning about services and offerings during countless sleepless nights but it was all worth it: I learnt a lot, acquired useful knowledge, and … Continue reading Certified! How & Why I’ve Became an AWS Solution Architect

What to do when Visual Studio 2017 debugger won’t attach to Docker

We've been developing .NET Core micro-services for a few months. Obviously we've decided to use Docker for Windows for deployment. Don't get me wrong I still find the experience amazing: Write code, and immediately debug your code running on Docker, it got to a point I no longer think about this amazing integration - write … Continue reading What to do when Visual Studio 2017 debugger won’t attach to Docker