We live in a connected world. Everything is connected to the internet, from our computers to mobile phones, watches, and even washing machines. So naturally, the applications that you build also...
Category: Unit Testing
Writing unit tests can be a real pain. You often have to write the setup code repeatedly, which can be a nightmare to maintain in the long run. However, what if you could set up your test data...
3 Amazing Ways to Unit Test Code That Calls Static Method in C#
Static methods can often seem like an excellent way to achieve reusability. I mean, what's not to like about static methods? Write them once and call them whenever you want. The problem,...
So you've decided to start writing unit tests for your code. Great decision! But you're struggling with how to test abstract classes. Unfortunately, testing can be like that. It can be complex...
9 Fluent Assertions Tricks to Save Hours of Your Testing Time
There's one big difference between being a good programmer and a great one. A great one is always thinking about the future of the software. He thinks about how he can write code to be easy to...
As a software developer, you want to ensure that your code works. After you've written it, you want to test it to ensure it's doing what it's supposed to do. While you can do many kinds of...