Skip to main content

A pytest plugin to generate JSON reports, with ATX support.

Project description

pytest-testguide-json

A Python integration package to convert pytest test results into a JSON format compatible with test.guide by TraceTronic.

📘 Overview

TraceTronic's test.guide is a powerful platform for managing and analyzing test results. While it natively supports several tools and formats, it does not currently support pytest out of the box.

This package bridges that gap by:

  • Collecting test results from pytest
  • Converting them into a structured JSON format
  • Ensuring full compatibility with test.guide's expected JSON schema

🚀 Features

  • Plug-and-play with existing pytest suites
  • Generates test.guide-compatible JSON reports
  • Captures test case hierarchy, verdicts (PASSED, FAILED, ERROR, INCONCLUSIVE, etc.), durations, and more
  • Supports nested folder/test structures to reflect logical grouping in test.guide

🧪 Example Usage

  1. Install the package:
pip install test-guide-pytest-json
  1. Run your pytest tests with the --json-report option:
pytest --json=report.json
  1. Point to a directory containing your tests:
pytest .\tests\ --json=report.json

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

test_guide_pytest_json-0.0.5.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

test_guide_pytest_json-0.0.5-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file test_guide_pytest_json-0.0.5.tar.gz.

File metadata

  • Download URL: test_guide_pytest_json-0.0.5.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for test_guide_pytest_json-0.0.5.tar.gz
Algorithm Hash digest
SHA256 32d9b48378443c32eead633460f51cfd9e69929f1a2f343b01736330a018df30
MD5 c70ccbfa895dffe8737f5b854c532f8c
BLAKE2b-256 9da408455d9772f13b66e4d4409cf2b6f531a20951d941bbc76ed80ff4a3f333

See more details on using hashes here.

Provenance

The following attestation bundles were made for test_guide_pytest_json-0.0.5.tar.gz:

Publisher: python-publish.yml on tpc8486/test_guide_pytest_json

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

File details

Details for the file test_guide_pytest_json-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for test_guide_pytest_json-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c3f98e1b117a07ea9b9bf98c6d4c6b3463cd02f332e3b48d9eb78c18a724eb10
MD5 0a21d9b8c968bf5858ab08f28c6da404
BLAKE2b-256 d07941ccb56a2b704ba64beb654b233387cfc5732d23cfc522cdea2307fbaba9

See more details on using hashes here.

Provenance

The following attestation bundles were made for test_guide_pytest_json-0.0.5-py3-none-any.whl:

Publisher: python-publish.yml on tpc8486/test_guide_pytest_json

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