LANGUAGE
xUnit Theory
Marks a test method supplied with data cases.
Formal Syntax & Structure
csharp syntaxcsharp
[Theory]Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.[Theory]Marks a test method supplied with data cases.
[Theory]// Documentary fragment; see linked lesson for context.[Theory]