Data-driven Unit Tests in xUnit with the [Theory] Attribute
Watch the Video
Or watch it directly on YouTube: Click here
Video Description
So far in this xUnit series, we've focused on tests that run using the [Fact] attribute. In this video, I'll introduce the [Theory] test attribute and the [InlineData] attribute. This will allow us to write tests that run multiple times with different test data.
Video Info
- Duration: 5:08
- Published: September 24, 2024