Skip to main content

A test runner that outputs newline delimited JSON results

Project description

A unittest TestRunner that outputs ndjson. One JSON record per test result:

{
        "type": "success" | "expected_failure" | "failure" | "error" | "unexpected_success" | "skip",
        "id":   "module.TestClass.test_function",
        "desc": null | "First line of test function docstring",
        "msg":  null | "Exception traceback or reason for skipping"
}

To be used for test result storage or interprocess communication.

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

ndjson_testrunner-1.1.0.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

ndjson_testrunner-1.1.0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file ndjson_testrunner-1.1.0.tar.gz.

File metadata

  • Download URL: ndjson_testrunner-1.1.0.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for ndjson_testrunner-1.1.0.tar.gz
Algorithm Hash digest
SHA256 2e58c90fb4f067c8d9c3034db6d500cc46e44b86a9d8ed6053b1326c9955c8de
MD5 d7064a4722262f46948057ffa8473d75
BLAKE2b-256 eeb0b076b74c6bb8ee875b95925082686c3cca7d9879d225046307aea423323f

See more details on using hashes here.

Provenance

File details

Details for the file ndjson_testrunner-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ndjson_testrunner-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa550674e97fa8464d110d5cf8df795f91f9210781690b4e2c89992f859baffc
MD5 d0dd18048ecff265d52e657a4770edce
BLAKE2b-256 8b2253ab8ad06beab06498554f015167f9b7b1b50943d8436148e5bdd7e70386

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page