Command Line Application
Built automation pipelines and CI/CD integrations with assay cli utility.
Use go get
to download and install the cli into $GOPATH/bin
.
go get github.com/assay-it/assay
The application requires personal access key to access assay.it api, you can generate a key from your profile.
The built-in help shows how to use supported features:
assay help
Confirm quality of existing deployment with run
command. It takes a latest snapshot of suites from the repository and runs them against specified endpoint.
assay run facebadge/sample.assay.it \
--url https://example.com \
--key Z2l0aHV...bWhaQQ
Integrate with CI/CD using webhook
command. The command supports pull-request like integration, allowing to run suites from explicitly defined reference at the repository.
assay webhook \
--base facebadge/sample.assay.it/main/8c7ec...dc59 \
--head facebadge/sample.assay.it/main/9d8fd...ed60 \
--number '#123' \
--title 'awesome feature' \
--url https://example.com \
--key Z2l0aHV...bWhaQQ