In this article I wanted to tell you about a library that can help you improve your unit testing in C#. It's the FluentAssertions library, which provides us with a lot of extension methods that allow us to write better, so-called fluent [...]
Writing good unit tests is not easy. Especially the first tests can be a bit difficult for you, so to help you I wanted to present you 7 in my opinion the most common mistakes beginners make when writing unit tests, which you should [...]
Today I will discuss a very important topic, without knowing which, you will not learn how to write good unit tests. As you have read in previous articles, unit tests should not touch external resources. So how to test the logic in [...]
Test Driven Development, abbreviated as TDD, i.e. test-driven software development. That is, as if the tests drive our code that we will write. I think TDD has been heard by every programmer, but few of them have ever tried to write [...]
I'm often asked whether you should write unit tests for private or protected methods. Or how to test private methods in C#. Today I will try to briefly answer these questions. To make it easier for you to understand this problem, I [...]
In a previous blog post, I introduced you to automated testing. If you haven't read it yet, be sure to check it out before reading this article. Unit tests are one of the types of automatic tests. In this article, I will first tell you a little [...]
Automation tests, i.e. code that tests another piece of code. As the name suggests, these are automatic tests, thanks to them we can test our applications often and quickly - if we want to test some functionality in our application [...]