I am trying to write the test cases for one of the method written in MVC controller and in that method I am reading AppSettings.json file. as below public class
I started to learn a new topic for me - unit testing. Ffter writing a few tests, I began to wonder what else can be written and whether it will not be redundant
Xunit has a nice feature: you can create one test with a Theory attribute and put data in InlineData attributes, and xUnit will generate many tests, and test th