Developer tools
Developer quickstart
Go from an installed CLI to five passing Rune tests. The downloadable starter includes a real API, reusable fixtures, and a GitHub Actions workflow.
1. Install or upgrade
Install Vectrune 0.3.4 or newer. On macOS or Linux with Homebrew, use the commands below. Windows and other platforms can download a binary from GitHub Releases, extract it, and add its folder to PATH. Restart your terminal after changing PATH.
brew install davethomas11/vectrune/vectrune
vectrune --version2. Download the tested starter
Download developer starter (.zip)Extract the ZIP and open a terminal inside the extracted folder. On Windows use Extract All; on macOS open the ZIP; on Linux use unzip. Keep app.rune and api.test.rune together.
3. Check it and run the tests
vectrune doctor .
vectrune fmt . --check
vectrune check . --deny-warnings
vectrune test .Expected: 5 passed, 0 failed. Test requests run in process, so port 3000 does not need to be free. doctor may still report its availability as advice.
Next: change an assertion and try test --watch, then restore it to see the suite recover.