unit testing Archives - ROXL

Tag Archives: unit testing

Short story

Let’s imagine that you have modern application project made in times of .NET core 6 release. Needless to say, it’s structure is a little bit different from older .net versions (where you had 2 separate files – Startup.cs and Program.cs)

Let’s dive through old and new structure differences, that would be useful for further explanations

Read more

Moq – is useful framework that allows to simulate any functionality provided by object being tested. For example, you need to check is any method called in test scenario, so moq let you to do that. Just mock testable method, run scenario and detect is it being called at the end of test scenario.

Read more

2/2