#testing
Read more stories on Hashnode
Articles with this tag
Code Coverage is a valuable metric in software development, especially when it comes to testing. It provides insights into how much of your codebase...
One of the most common traits of C# developers is the excessive usage of interfaces. For every non-DTO class we define, we usually also create the...
As you know, you should always validate input models. Therefore, you should create Unit Tests to test the data validation. Let's learn! · Model...
Good unit tests have some properties in common: they are Fast, Independent, Repeatable, Self-validating, and Thorough. In a word: FIRST! · FIRST is an...
In unit tests, sometimes you need to perform deep checks on the object passed to the mocked service. · When writing unit tests, you can use Mocks to...
The most important trait of Tests? They must be correct. The second one? They must be readable. The AAA pattern helps you write better tests. · Even...