Difference Between Fact and Theory in xUnit with Fluent Assertions

Giovanni Pace

Description

Let's get started with xUnit in C#: I'll explain the difference between Fact (parameter-less tests) and Theory (parameterized tests with InlineData), and introduce Fluent Assertions — the library that makes assertions read like natural English with the result.Should().Be(value) syntax.