Skip to main content

Minitest CLI – command-line interface for the Minitest testing platform

Project description

minitest-cli

Command-line interface for the Minitest testing platform.

Installation

One-liner (recommended)

macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/minitap-ai/minitest-cli/main/install.sh | bash

Windows (PowerShell):

powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/minitap-ai/minitest-cli/main/install.ps1 | iex"

Both scripts use uv if available, or install it automatically.

Other methods

uv (all platforms):

uv tool install minitest-cli

Homebrew (macOS):

brew install minitap-ai/tap/minitest-cli

uvx (zero-install, all platforms):

uvx --from minitest-cli minitest --help

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 export these variables in your shell session (or add them to a .envrc / .env file) 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minitest_cli-0.6.0.tar.gz (82.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minitest_cli-0.6.0-py3-none-any.whl (60.4 kB view details)

Uploaded Python 3

File details

Details for the file minitest_cli-0.6.0.tar.gz.

File metadata

  • Download URL: minitest_cli-0.6.0.tar.gz
  • Upload date:
  • Size: 82.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for minitest_cli-0.6.0.tar.gz
Algorithm Hash digest
SHA256 b9ff648c76b5026cd901e7455a0c50f46a5b4ecd00a9d99ee1862595daaef8fc
MD5 d8d7500c4e5ed30700050c0455300a35
BLAKE2b-256 df50b37fa123d25cbe51fa6076b707c2ec1de7c630dd1d29f8968a73bde9ab7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for minitest_cli-0.6.0.tar.gz:

Publisher: release.yml on minitap-ai/minitest-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file minitest_cli-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: minitest_cli-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 60.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for minitest_cli-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bbc9b6cd3d47d32ab9e26420e4cbd92eb096292a49e0437b024dd401e42f6edd
MD5 471de4dbbd95bddef699fb4c6b3838f0
BLAKE2b-256 dab4224e400b41087223850a5ac8408c18ff283c8de328b2e53d3f9fdbb21230

See more details on using hashes here.

Provenance

The following attestation bundles were made for minitest_cli-0.6.0-py3-none-any.whl:

Publisher: release.yml on minitap-ai/minitest-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page