Skip to content

Quickstart

This guide takes you from a new Testinel project to your first uploaded pytest run.

Create a project in Testinel, then copy its TESTINEL_DSN. The DSN authorizes test-result submission, so treat it as a secret and do not commit it to your repository.

Terminal window
python -m pip install --upgrade pytest-testinel

For a uv-managed project:

Terminal window
uv add --dev pytest-testinel
Terminal window
export TESTINEL_DSN="https://testinel.dev/ingest/your-project-dsn/"

Use the exact value copied from your Testinel project.

Terminal window
pytest --showlocals --tb=long -vv

The reporter sends the run and its test results while pytest executes. Open the project in Testinel to inspect the completed run and any failures.

Store TESTINEL_DSN in your CI provider’s secret store and expose it only to the test job. For browser tests, retain failure artifacts so Testinel can show screenshots, videos, and Playwright traces alongside the traceback.