Cloud Quickstart
Authenticate, run a DeepEval evaluation, and see it land in the TestRelic eval workspace, Test Runs feed, and repo Evaluations tab.
This walks you from a fresh install to an eval run visible in the TestRelic cloud.
1. Authenticate
Either log in interactively:
testrelic loginThis saves your credentials to ~/.testrelic/credentials.toml. You can also pass values directly:
testrelic login --api-key <key> --base-url <url>Or skip the CLI entirely and set an environment variable:
export TESTRELIC_API_KEY=<key>Create a key from your TestRelic org — see API keys.
2. Run an evaluation
Run your DeepEval suite as usual. The pytest plugin captures the run at session finish and uploads it:
deepeval test run tests/No flags or code changes are required. If credentials are missing, the upload simply no-ops — it never fails your tests.
3. See it in the cloud
Once uploaded, the eval run surfaces in three places:
- Eval workspace — the DeepEval / eval workspace, where it contributes to the Eval Stability metric.
- Test Runs feed — eval runs appear in the unified Test Runs feed alongside your other runs.
- Repo Evaluations tab — under the matching repository, in its Evaluations tab.
Open the latest run straight from your terminal:
testrelic viewTo open a specific run, pass its ID:
testrelic view <run_id>The cloud endpoint defaults to the TestRelic production endpoint, and your tr_* key authenticates against it. To target a different endpoint, set TESTRELIC_CLOUD_ENDPOINT (the /evals path is appended for you) or TESTRELIC_BASE_URL (the full evals URL), or call testrelic.configure(base_url=...) in code. See Configuration.