Skip to main content

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.

Write your first feature β†’

πŸ“

Specifications

Concise rules for business policies and technical contracts. Less ceremony than BDD β€” useful when exact examples matter more than a workflow narrative.

Write your first spec β†’

πŸ—ΊοΈ

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.

Explore journey testing β†’


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.


Explore the Docs​