Examples¶
Working examples demonstrating Specwright features in realistic scenarios.
-
Basic API
Type-safe functions with runtime validation and error handling.
-
State Workflows
Order processing and multi-step workflows with state machines.
-
Real-World Project
Complete project walkthrough: spec, implement, test, validate, document.
All examples are runnable. You'll find the source files in the examples/ directory of the repository.