Data-driven Unit Tests in xUnit with the [Theory] Attribute

Опубликовано: 09 Май 2026
на канале: Benjamin Day
263
5

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.