Installation #
The most straightforward way for you to get started is downloading the executable for your platform:
npm
Install as a development dependency in your project:
npm install --save-dev @antithesishq/bombadilAdd a script to your package.json to run
Bombadil:
{
"scripts": {
"test": "bombadil browser test --time-limit=1m https://your-app.example.com"
}
}Then run it with npm test. This also provides
TypeScript type definitions for writing specifications.
macOS
Download the bombadil binary using
curl (or wget) and make it
executable:
curl -L -o bombadil https://github.com/antithesishq/bombadil/releases/download/v0.7.2/bombadil-aarch64-darwin
chmod +x bombadilPut the binary somewhere on your PATH, like in
~/.local/bin if that is configured.
mv ./bombadil ~/.local/bin/bombadilYou should now be able to run it:
bombadil --versionDo not download the executable with your web browser. It will be blocked by GateKeeper.
Linux
Download the bombadil binary and make it
executable:
curl -L -o bombadil https://github.com/antithesishq/bombadil/releases/download/v0.7.2/bombadil-x86_64-linux
chmod +x bombadilPut the binary somewhere on your PATH, like in
~/.local/bin if that is configured.
mv ./bombadil ~/.local/bin/bombadilYou should now be able to run it:
bombadil --versionNix (flake)
nix run github:antithesishq/bombadil/v0.7.2 -- --versionGitHub Actions
- uses: antithesishq/bombadil-action@v2
with:
driver: browser
origin: https://your-app.example.com
specification: ./bombadil/specification.ts
time-limit: 5m
exit-on-violation: true
output-path: bombadil-outputSee its README for detailed instructions.
Docker
Releases are published as tags on Docker Hub:
docker run antithesishq/bombadil:0.7.2 --versionIf you want to compile from source, see Contributing.