How we can use Theory attribute and InlineData attribute | xUnit | ASP.Net Core | EF Core | Part-5 |



How we can use Theory attribute and InlineData attribute | xUnit | ASP.Net Core | EF Core | Part-5 |

How we can use Theory attribute and InlineData attribute | xUnit | ASP.Net Core | EF Core | Part-5 |

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

For Database Setup in Unit Test Project | Part-1 | Please follow the link: https://youtu.be/GCMByFmr_bE
For Unit Test Cases for GET Methods | Part-2 | Please follow the link: https://youtu.be/zqf2Y2ekXTc
For Unit Test Cases for DELETE Methods | Part-3 | Please follow the link: https://youtu.be/yH_UOJCRTLk
For Unit Test Cases for Insert and Update Methods | Part-4 | Please follow the link: https://youtu.be/7OvMwkf2R60
How we can use Theory attribute and InlineData attribute | xUnit | ASP.Net Core | EF Core | Part-5 | Please follow the link: https://youtu.be/RFVDPJGEBwQ

#aspdotnetcore #aspdotnetcoretutorial #efcore #entityframeworkcore #xunit #testcases #testdatabase #sqlite #inlinedataattribute #theoryattribute #unittestcases