xUnit SDK
Docs for xUnit SDK v0.4.0
Living documentation for .NET projects. Write tests that double as documentation β from unit-level specifications to full end-to-end API journeys.
Three Ways to Document Your Codeβ
BDD Features
Gherkin-style Given / When / Then scenarios that read like plain English. Perfect for acceptance tests and business-facing documentation.
Specifications
Concise rules for business policies and technical contracts. Less ceremony than BDD β useful when exact examples matter more than a workflow narrative.
Journey Testing
End-to-end API testing with annotated .http files. Your API journeys work as both manual exploration tools and automated regression tests with response contract validation.
Start Hereβ
The Getting Started guide is the single setup path for the xUnit SDK. Choose AI Agent or .NET CLI there, then create and run your first living specification.