VolcAPI lets you define test scenarios directly inside your OpenAPI spec using a custom extension (v-functional-test), then run them from the CLI. Single source of truth.
It's a Go binary no runtime, no node_modules. The goal is for it to drop into GitHub Actions with zero friction once JUnit XML output lands (in progress).
Repo: https://github.com/aliamerj/volcapi
This is early alpha. GET/POST/PUT/DELETE work, response validation works, environment configs work. CI output formats are the next thing I'm building.
Honest question for the HN crowd: is the "spec as test suite" concept something you'd actually use, or do you prefer keeping tests separate from the spec? I've gone back and forth on this and would genuinely like to hear from people who've felt this pain.
mrkeen•1h ago
* The server implementation is type-checked against the API
* The OpenAPI spec is generated from the API.
* The client is generated/checked against the API
Any test-suite that operates using the client or server will then by definition be up-to-date with everything else.