Skip to main content

No project description provided

Project description

This project requires maturin, it can be installed using pip: pip install maturin

For development, to rebuild the rust portion of the library and install the library in your local venv (I believe this requires a venv in order to work), run: maturin develop

To use the library just import it after installing: import testing_result_parsers

There's an example of this in the tests directory.

The CI uses the maturin-action to build wheels and an sdist

The version of the wheels built are determined by the value of the version in the cargo.toml

There are 2 parsing functions currently implemented:

  • parse_junit_xml: this parses junit.xml files

This function takes the path to the file to parse as an arg and returns a list of Testrun objects.

The Testrun objects look like this:

Outcome:
    Pass,
    Failure,
    Error,
    Skip

Testrun:
    name: str
    outcome: Outcome
    duration: float
    testsuite: str
  • parse_raw_upload: this parses an entire raw test results upload

this function takes in the raw upload bytes and returns a message packed list of Testrun objects

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_results_parser-0.5.3.tar.gz (61.1 kB view details)

Uploaded Source

Built Distributions

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

test_results_parser-0.5.3-cp310-abi3-win_amd64.whl (924.2 kB view details)

Uploaded CPython 3.10+Windows x86-64

test_results_parser-0.5.3-cp310-abi3-win32.whl (850.8 kB view details)

Uploaded CPython 3.10+Windows x86

test_results_parser-0.5.3-cp310-abi3-musllinux_1_2_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ x86-64

test_results_parser-0.5.3-cp310-abi3-musllinux_1_2_i686.whl (4.6 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ i686

test_results_parser-0.5.3-cp310-abi3-musllinux_1_2_armv7l.whl (4.6 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARMv7l

test_results_parser-0.5.3-cp310-abi3-musllinux_1_2_aarch64.whl (4.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

test_results_parser-0.5.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

test_results_parser-0.5.3-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (5.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ s390x

test_results_parser-0.5.3-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (4.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ppc64le

test_results_parser-0.5.3-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (4.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARMv7l

test_results_parser-0.5.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

test_results_parser-0.5.3-cp310-abi3-manylinux_2_5_i686.manylinux1_i686.whl (4.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.5+ i686

test_results_parser-0.5.3-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (2.3 MB view details)

Uploaded CPython 3.10+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file test_results_parser-0.5.3.tar.gz.

File metadata

  • Download URL: test_results_parser-0.5.3.tar.gz
  • Upload date:
  • Size: 61.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.8.2

File hashes

Hashes for test_results_parser-0.5.3.tar.gz
Algorithm Hash digest
SHA256 5915e0e50ea666cd15b62e16fb749726faed760dae07a05d2f1944ad6c4166c6
MD5 e875519b4838012a5e10abdf8f767675
BLAKE2b-256 75422bcca7c7a562ae58846b332ad3cd1adcee1f0ee1442e6cab939af1a58445

See more details on using hashes here.

File details

Details for the file test_results_parser-0.5.3-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for test_results_parser-0.5.3-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 98a458aad345103ac357f48b841bc527aef66431e52084137264ffcec3eb6f8a
MD5 ffe5ace05596b76cfce28872b07e9ff5
BLAKE2b-256 0c8d2666e945ed63935ee3ff3fddd039ab65b4728eb32f6353d2bbfc41d29775

See more details on using hashes here.

File details

Details for the file test_results_parser-0.5.3-cp310-abi3-win32.whl.

File metadata

File hashes

Hashes for test_results_parser-0.5.3-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 8b3c1d330343187f5af309f39a45ca07e6ce36979b64c65964c7bdc90e871bb2
MD5 7139e3e3bdd690bc7f56236c8fe944d4
BLAKE2b-256 a74709b5e0ad440bb31d1fad2c9bdcacdc3f78a12bd56cf8a0421e0fcfc14c93

See more details on using hashes here.

File details

Details for the file test_results_parser-0.5.3-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for test_results_parser-0.5.3-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3d6dab1972f853a47d04fe5c336c38ac6c92480431cd38b8ff5c03200073c5d6
MD5 af7eb898a36a44ae4527910b928398c3
BLAKE2b-256 b074fdb8486e99fc9dbf20d47c85b2070086df501370087619cb2d5166b49fed

See more details on using hashes here.

File details

Details for the file test_results_parser-0.5.3-cp310-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for test_results_parser-0.5.3-cp310-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 16335c1f14bd499120d9fd1bf3ac7826c322891caf1effde2bcce153b5e7ed1e
MD5 726e0fba63600e85acbf2cb01b362f6e
BLAKE2b-256 4eac4b5703aaaa31a28a709f8b0a92a09d5d7bbd7382fedb156cf72c15749dd2

See more details on using hashes here.

File details

Details for the file test_results_parser-0.5.3-cp310-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for test_results_parser-0.5.3-cp310-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 e0dc966377b212d858c30c2e0106b6a0310895285457987fd3116c0b4f499ade
MD5 10eec437e5c0c22946d69e67b59962c6
BLAKE2b-256 9e0f2b423dfc0d24c4a222c97e70439e8a1ec56abc41daff4fc13cdd99f9ab0f

See more details on using hashes here.

File details

Details for the file test_results_parser-0.5.3-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for test_results_parser-0.5.3-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 910932aaf82a47a93622283a546c54054fb6ea65eb9b376a63cf67f12440c0c4
MD5 159c051fe53dc2bd4b895b5be9ead9b4
BLAKE2b-256 292402a744bbff3ec0ebb08b0d9a85554d6326351c8f89d35e65a37766e9022e

See more details on using hashes here.

File details

Details for the file test_results_parser-0.5.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for test_results_parser-0.5.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 241e77eaace211746a34a49e930e1ea656e71949230eda657b9ab52b8858e0dc
MD5 48aba921dba9e53099b9e6344b28d386
BLAKE2b-256 60791c262f52200d43920f1fd5d39f903de319a1c98bd211d743c8523c4bf2f2

See more details on using hashes here.

File details

Details for the file test_results_parser-0.5.3-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for test_results_parser-0.5.3-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 7d02e1e594eb00377252c4932e6f19821345aca45a019997ad6b27638bc1ecb5
MD5 6ffa869728620633144da29ecf3f1bae
BLAKE2b-256 94dde3eae12115d75a2f98ee70eed368b1c1f8b3abccf7f3b841c2729d98f0f7

See more details on using hashes here.

File details

Details for the file test_results_parser-0.5.3-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for test_results_parser-0.5.3-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 2996d9f9350c9d2cabc30789bd6c327cc12dfa888ac5f4a0a96924ddaeebb7d7
MD5 002db15a034a2597c68fad838fd31660
BLAKE2b-256 e33f3d3be0d9ed452e4c6b11f0a4b45f82e5db890bca2d0e197781b047bed73f

See more details on using hashes here.

File details

Details for the file test_results_parser-0.5.3-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for test_results_parser-0.5.3-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 8d5e70994ff9b95806408ee26a6deca209c06988e415773ec46bb5c8feb647b9
MD5 577b8dea3f78571bcba8844b90fa0867
BLAKE2b-256 d9585dc04936d095d6f0446a8fe09e8a6a469cdb85571b676f4b876000f4d5f3

See more details on using hashes here.

File details

Details for the file test_results_parser-0.5.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for test_results_parser-0.5.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b89307c1b35506b1eb6e30c8bdcad25ba5bb74e04f40116caddd08da6e50d45d
MD5 1ec6d5287e299ec8af77bdad17e03ce8
BLAKE2b-256 0c41edab4aa087b22325af7cf45a3ba91636601a6df888ed4e6377c0b1f3c23b

See more details on using hashes here.

File details

Details for the file test_results_parser-0.5.3-cp310-abi3-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for test_results_parser-0.5.3-cp310-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 2c1de944d7006237f44d7436adb36ceaaaef86f2087dcc37409f6c2f9d181490
MD5 a8ae6182124dae200c47dd518edefe5c
BLAKE2b-256 7f088724311adc4587c8f7119841ba9e24bf33abdcf1082e9cc533757ce83776

See more details on using hashes here.

File details

Details for the file test_results_parser-0.5.3-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for test_results_parser-0.5.3-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 5a0b0cb2ebeaf3fcbcdceee716fe42c38891cab3589fc99b82e24221f6ab8ea9
MD5 a0e2e40310db9e99639f188cddc748a7
BLAKE2b-256 8d599f954b420372451f7f4ce3b3cebc4409921ffd75c19b5a9ef2ef061b4d04

See more details on using hashes here.

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