Skip to content

Glossary: C# Beyond the Basics

Fact

Also written: [Fact]

The xUnit attribute that marks a method as a test. The test runner finds and calls every `[Fact]` method.

Where the book teaches it

Related terms

TheoryattributexUnit