Who hasn't had a bug in their code that happened once every year, but they couldn't reproduce it? That bug was probably caused by using DateTime.Now in their code, and if you debug it, it won't...
Category: Unit Testing
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...
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...
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,...