Previous
Current lesson | Lesson 1/4

Difference Between Fact and Theory in xUnit with Fluent Assertions

Unit Tests in C# with xUnit: Complete Guide to Testing in .NET 0%

Chapters

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.
Instructor
Up next Testing Objects with Assert and Fluent Assertions in C# xUnit