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#
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 [...]
Test Driven Development: Benefits of Using TDD on an Example 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

Search engine

© Copyright 2024 CodeWithKazik.com. All rights reserved. Privacy policy.
Design by Code With Kazik