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.1.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ndjson_testrunner-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 3b2250113d086d31c56ded3349ffa4b3c7abc470fa34b796f6c7ad107fcef432
MD5 c1a10eeb4f7ea9bcb1c289a7cc7e1064
BLAKE2b-256 aa2029537480e8bb6a31c92b02cee83bbdd0d027fb9b126c04a922eff4dca7ee

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for ndjson_testrunner-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 760c63525584e941451d6614dc23368eda9f3864822f901c96275c3e484d5fbc
MD5 e26b9ed69579fad35bb60f2b7a9777fc
BLAKE2b-256 71132e69f33d5454772b20d5c5cf1c37235c0d2f86e57af6bb7f0709a2746970

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