Qase CLI App (qli)
Qase CLI, or qli
is the command line app for Qase, written in Go. qli
can be used to start and complete test runs, and publish test results to Qase in several formats.
You can view the source code on GitHub
Installation Options
Install via go install
The easiest way to install Qase CLI is using go install:
go install github.com/qase-tms/qasectl@latest
Make sure to add $GOPATH/bin
to your $PATH
environment variable to be able to run the qasectl
command. The binary is named qasectl
, you may want to create an alias, as qli
.
Build from Source
1. Clone the repository:
git clone https://github.com/qase-tms/qasectl.git && cd qasectl
2. Build the binary:
make build
You will find the binary in the build/
directory.
Try creating a test run by executing the binary:
./build/qli testops run create --project QD --token <your-token> --title "Run created from Qase-cli" --description "Hello, from qase-cli" --environment <env-slug> --verbose
Use a Docker Image
1. Pull the Docker image:
docker pull ghcr.io/qase-tms/qase-cli:latest
2. Run the Docker container:
docker run --rm ghcr.io/qase-tms/qase-cli:latest <add-your-command-here>