What's your least favorite part of coding? For most developers, it's not the lack of coffee. Or the late hours. Or even the deadlines that make everything so stressful. It's the bugs....
Posts by Kristijan Kralj
If you work with object-oriented programming, you’ve probably heard the term dependency injection at least a few times. But what is dependency injection? Dependency injection is a technique of...
If you’re a programmer, you might have heard of refactoring. Refactoring is the process of changing the internal structure of the code to make it easier to read and maintain. Moving methods is a...
If you're a programmer, you're probably familiar with the Extract Method technique. This is a very helpful refactoring that can be used when you need to modularize a piece of code that's getting...
Arrange Act Assert: The Best Structure for Highly Successful Unit Tests in C#
If you are just starting with unit testing, it can be confusing to know how to structure your unit test method. Luckily, there is a simple structure you can use to organize your unit tests. The...
Have you ever written a unit test with many asserts in it? I know I have. I’ve done it because I wanted to make sure that the code I was testing was doing the right thing. If you’ve done...