Blog for Junior Developers C#/.NET

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 [...]
How to Get Rid of External Dependencies in Unit Tests? Introduction to Mocking Data in C#
From my previous articles, you already know that automatic tests can be divided into, among others, unit tests and integration tests. I have already introduced you to unit tests in recent articles (if you haven't read them yet, be sure [...]
We Test Database Operations - Introduction to Integration Testing in .NET
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 [...]
Whether to Unit Test Private Methods - Examples in C#
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 [...]
Unit Tests 100% What You Need to Know About Them
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 [...]
Automation Tests Explained in One Article
© Copyright 2024 CodeWithKazik.com. All rights reserved. Privacy policy.
Design by Code With Kazik