Skip to main content

pytest-extended-data

pytest-extended-data publishes reusable pytest fixtures and assertions for projects built on extended-data.

Install it in test environments:

uv add --dev pytest-extended-data

The plugin is exposed through the standard pytest11 entry point. It provides:

  • extended_data_factory: the ExtendedData polymorphic constructor.
  • extended_data_payload: a small nested mapping payload for examples and smoke tests.
  • extended_data_value: the payload wrapped as an ExtendedData value.
  • assert_extended_shape(value, shape): assertion helper for shape checks.
  • assert_builtin_round_trip(value, expected): assertion helper for export-boundary checks.

Use the fixtures as consumer-facing contract checks, rather than duplicating private container implementation details in every downstream package:

def test_configuration_boundary(extended_data_value):
    assert extended_data_value["service"]["name"] == "api"
    assert extended_data_value.as_builtin() == {
        "service": {"name": "api", "ports": [8080, 8443]},
        "enabled": True,
    }

The runtime package deliberately has no pytest plugin. Install this package only in test environments so production dependencies remain focused on data handling.

See the Package Surface guide for the runtime and plugin split.

Metadata

Release files for pytest-extended-data 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-extended-data 0.2.2
File Size Uploaded
pytest_extended_data-0.2.2.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-extended-data 0.2.2
File Interpreter ABI Platform
pytest_extended_data-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / pytest_extended_data-0.2.2.tar.gz

Download URL pytest_extended_data-0.2.2.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
87c794d0d0919d1c656d25271aa076828894028291ec6e93f31c2e0a69dc5583
BLAKE2b-256 checksum
How to use checksums
1b988b56c518c47e964b5e291e89f821e1569539e06ab591744761af442e4bb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pytest_extended_data-0.2.2-py3-none-any.whl

Download URL pytest_extended_data-0.2.2-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0107327c8afe2b06e15dce0a3791f391b18a59a3cf526c7d6024b83cc67c2e33
BLAKE2b-256 checksum
How to use checksums
1e1119fece24f54991f4fa1aa23d0c00c80017ba16587ec694874cfb4205d5ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page