Access
Login or register with corporate email.
Login via CLI
If the backend (API) runs on a server and the CLI runs locally, use this:
1. Install the CLI locally (from the repo root):
python3 -m venv .venv source .venv/bin/activate pip install -U pip pip install -e "backend[dev]"
2. Set the API URL (env var or .env):
# .env: REMOTE_API_URL= # или переменная окружения: export REMOTE_API_URL=""
3. Login once (token is stored locally):
testgen login -u your@email.com testgen whoami
4. Generate tests via remote API:
testgen generate path/to/file.py --remote
Token is stored locally in ~/.testgen_token and reused automatically. The CLI sends your file contents to the server, so the file must exist on your machine.