In this tutorio of my unit testing, we’re going to take a single extension method and show how we can use XUnit’s [Theory] and [InlineData] attributes to quickly write a bunch of tests for that method.

#programming-c #csharp

Using XUnit [Theory] and [InlineData] to Test C# Extension Methods
1.60 GEEK