Tagged articles
Image from Pexels

Tagged articles - Testing

Found 1 articles tagged with Testing

Mocking IConfiguration GetValue<T> extension methods in Unit Test
How to mock extension methods for IConfiguration in .NET Core
0
Now here is a trouble that was bugging me for some time and I guess who ever is using IConfigration injected in the constructor and using extension methods to access configuration values reached whan trying to write Unit Tests. IConfiguration interface is a great way to easily replace your configuration layer in application, but it has it's drawbacks. The way interface envorces configuration reading is by exposing GetSection method which return IConfigurationSection...read more

.NET

read more

JavaScript

read more

SQL/T-SQL

read more

Umbraco CMS

read more