When it comes to writing great unit tests, the unit testing method naming convention is one of the best ways to ensure that your tests are easy to read and understand. By following the proper...
Posts by Kristijan Kralj
In this post, we're going to talk about the Liskov Substitution Principle, a programming principle that is supposed to help you design better, more robust, and more flexible code, especially if your...
One of the most important design principles of unit testing is testing in isolation. That means that the code being tested should be isolated from all other objects so that you can test it in a...
Have you ever reviewed a code where you have a class hierarchy but stumbled upon many methods that throw a NotImplementedException? If so, then the Interface Segregation Principle in C# could...
Did you know that dead pharaohs can have passports as well? And fly around the world? Believe it or not, it’s true. In 1974, Egypt sent a 3.000-year-old body of pharaoh Ramesses II to Paris...
Unit Testing in C#: A Surprisingly Simple Way to Write Better Apps
Have you ever written a feature that didn't work from the start? The one that had bugs in it? If so, you know how frustrating it can be to fix bugs. Writing good quality software isn't easy,...