Minitest CLI – command-line interface for the Minitest testing platform
Project description
minitest-cli
Command-line interface for the Minitest testing platform.
Installation
pip (recommended)
pip install minitest-cli
uvx (zero-install)
Run without installing:
uvx --from minitest-cli minitest --help
Homebrew
brew install minitap-ai/tap/minitest-cli
From source
git clone https://github.com/minitap-ai/minitest-cli.git
cd minitest-cli
uv sync
uv run minitest --help
Quick Start
# Authenticate
minitest auth login
# List your apps
minitest apps list
# Run tests
minitest run --app <app-id>
Configuration
| Environment Variable | Description | Required |
|---|---|---|
MINITEST_TOKEN |
API authentication token | Yes (or use minitest auth login) |
MINITEST_APP_ID |
Default app ID | No (can use --app flag) |
MINITEST_API_URL |
API base URL | No (defaults to production) |
Global Flags
| Flag | Description |
|---|---|
--json |
Output JSON to stdout (diagnostics go to stderr) |
--app <id-or-name> |
Target app for commands that require one |
--version |
Show CLI version |
--help |
Show help |
Commands
| Command | Description |
|---|---|
minitest auth |
Authentication management |
minitest apps |
App management |
minitest flow |
Testing flow operations |
minitest build |
Build management |
minitest run |
Test execution |
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | General error |
| 2 | Authentication error |
| 3 | Network / API error |
| 4 | Resource not found |
Using the Dev Environment
To point the CLI at the dev environment instead of production, set these environment variables when running minitest:
MINITEST_SUPABASE_URL=https://qrezuucghnmfvaxghqsv.supabase.co \
MINITEST_SUPABASE_PUBLISHABLE_KEY=sb_publishable_4JRhoCm8pa5PbII0dhS09A_jhpkQhmy \
MINITEST_API_URL=https://testing-service.dev.minitap.ai \
minitest auth login
This authenticates against the dev environment and stores a dev-specific auth token. After logging in, keep the same variables set for all subsequent commands:
MINITEST_SUPABASE_URL=https://qrezuucghnmfvaxghqsv.supabase.co \
MINITEST_SUPABASE_PUBLISHABLE_KEY=sb_publishable_4JRhoCm8pa5PbII0dhS09A_jhpkQhmy \
MINITEST_API_URL=https://testing-service.dev.minitap.ai \
minitest apps list
Tip: You can
exportthese variables in your shell session (or add them to a.envrc/.envfile) to avoid repeating them on every invocation.
Development
# Install dependencies
uv sync --dev
# Run linter
uv run ruff check .
# Run formatter
uv run ruff format .
# Run type checker
uv run pyright
# Run tests
uv run pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file minitest_cli-0.4.2.tar.gz.
File metadata
- Download URL: minitest_cli-0.4.2.tar.gz
- Upload date:
- Size: 73.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83cfe6fd311ca9a33fac455aa7ad41be0bb4f567bd7e9eed7cec7689cd460fd1
|
|
| MD5 |
88e421b8e27f0f26f671b5d6a5c0f749
|
|
| BLAKE2b-256 |
90645d43ab4f038f5ef8956f588baaea996892313951ab57425fea3538d0ebff
|
Provenance
The following attestation bundles were made for minitest_cli-0.4.2.tar.gz:
Publisher:
release.yml on minitap-ai/minitest-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
minitest_cli-0.4.2.tar.gz -
Subject digest:
83cfe6fd311ca9a33fac455aa7ad41be0bb4f567bd7e9eed7cec7689cd460fd1 - Sigstore transparency entry: 1246897854
- Sigstore integration time:
-
Permalink:
minitap-ai/minitest-cli@3f7336623a9e2f4ada2b0de9f4d46d4cd727a933 -
Branch / Tag:
refs/tags/v0.4.2 - Owner: https://github.com/minitap-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3f7336623a9e2f4ada2b0de9f4d46d4cd727a933 -
Trigger Event:
push
-
Statement type:
File details
Details for the file minitest_cli-0.4.2-py3-none-any.whl.
File metadata
- Download URL: minitest_cli-0.4.2-py3-none-any.whl
- Upload date:
- Size: 54.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c493a02a43c1df8e26e6a08b6a42bdb8d444ae1932038dccc33cdba4d6773fa
|
|
| MD5 |
fa5f40d0981fc4f023441d8895bdc500
|
|
| BLAKE2b-256 |
ba227cfdbd25b4a80a47a53585812596f2bb7b390b1ef15316a5d136840a99e1
|
Provenance
The following attestation bundles were made for minitest_cli-0.4.2-py3-none-any.whl:
Publisher:
release.yml on minitap-ai/minitest-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
minitest_cli-0.4.2-py3-none-any.whl -
Subject digest:
2c493a02a43c1df8e26e6a08b6a42bdb8d444ae1932038dccc33cdba4d6773fa - Sigstore transparency entry: 1246898221
- Sigstore integration time:
-
Permalink:
minitap-ai/minitest-cli@3f7336623a9e2f4ada2b0de9f4d46d4cd727a933 -
Branch / Tag:
refs/tags/v0.4.2 - Owner: https://github.com/minitap-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3f7336623a9e2f4ada2b0de9f4d46d4cd727a933 -
Trigger Event:
push
-
Statement type: