Reference

Command-line interface

bombadil test

bombadil test [OPTIONS] <ORIGIN> [SPECIFICATION_FILE]

Argument Description
<ORIGIN> Starting URL of the test (also used as a boundary so that Bombadil doesn’t navigate to other websites)
[SPECIFICATION_FILE] A custom specification in TypeScript or JavaScript, using the @antithesishq/bombadil package on NPM
Option Description Default
--output-path <OUTPUT_PATH> Where to store output data (trace, screenshots, etc)
--exit-on-violation Whether to exit the test when first failing property is found (useful in development and CI)
--width <WIDTH> Browser viewport width in pixels 1024
--height <HEIGHT> Browser viewport height in pixels 768
--device-scale-factor <DEVICE_SCALE_FACTOR> Scaling factor of the browser viewport, mostly useful on high-DPI monitors when in headed mode 2
--headless Whether the browser should run in a visible window or not
--no-sandbox Disable Chromium sandboxing
-h, --help Print help

bombadil test-external

bombadil test-external [OPTIONS] <ORIGIN> [SPECIFICATION_FILE]

Argument Description
<ORIGIN> Starting URL of the test (also used as a boundary so that Bombadil doesn’t navigate to other websites)
[SPECIFICATION_FILE] A custom specification in TypeScript or JavaScript, using the @antithesishq/bombadil package on NPM
Option Description Default
--output-path <OUTPUT_PATH> Where to store output data (trace, screenshots, etc)
--exit-on-violation Whether to exit the test when first failing property is found (useful in development and CI)
--width <WIDTH> Browser viewport width in pixels 1024
--height <HEIGHT> Browser viewport height in pixels 768
--device-scale-factor <DEVICE_SCALE_FACTOR> Scaling factor of the browser viewport, mostly useful on high-DPI monitors when in headed mode 2
--remote-debugger <REMOTE_DEBUGGER> Address to the remote debugger’s server, e.g. http://localhost:9222
--create-target Whether Bombadil should create a new tab and navigate to the origin URL in it, as part of starting the test (this should probably be false if you test an Electron app)
-h, --help Print help