Skip to content

Glossary: ASP.NET Core

[Fact] and [Theory]

Also written: Fact, Theory, InlineData

xUnit attributes that mark test methods: `[Fact]` is a test with no inputs, and `[Theory]` runs the same test once for each `[InlineData]` row.

Where the book teaches it

Related terms

Integration test