
Built a CLI Runner for Voiden to Run API Tests Without Leaving the Terminal
For those who are not familiar with the tool: Voiden is an offline-first, git-native API tool built on Markdown. I have submitted it here around 5 months ago when we went open source.
We built it in house (yeah we work with many APIs so we kind of need it) because API tooling has really become super heavyweight: I mean mostly cloud dependencies, forced accounts, proprietary formats and workflows that break the moment you are offline.
Testing a localhost API should not need an internet connection. Running your test suite in CI shouldn't require exporting a file from a GUI app.
So we asked this question: What if an API tool respected how developers and QA folks already work?
This led to a few core ideas that we follow as we keep building:
- Offline first, no accounts or telemetry
- Git native, and specs, tests and docs live together in executable plain files
- Composable requests. You can build them by putting together API blocks. (endpoints, headers, auth, etc)
In the latest release, we added the Voiden Runner, a CLI that runs files headlessly directly in the terminal.
This one is a big one for us so we added it in the 2.0 release.
Take a look: https://github.com/VoidenHQ/voiden
Try Voiden here: https://voiden.md/download