@testream/pytest-reporter
v1.0.0
Published
CLI to run pytest with JUnit XML output and upload results to Testream
Downloads
34
Maintainers
Readme
@testream/pytest-reporter
Run pytest and send the results from your codebase to Jira via Testream.
CI Example (GitHub Actions)
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: pip install pytest
- run: npm install -g @testream/pytest-reporter
- run: |
testream-pytest \
--api-key "${{ secrets.TESTREAM_API_KEY }}" \
--fail-on-errorBy default, testream-pytest runs pytest and writes JUnit XML to junit/pytest-junit.xml.
Use --junit-path only if you want to skip test execution and ingest existing JUnit XML.
For CLI options and CI examples, see https://docs.testream.app/reporters/pytest.
