Metadata-Version: 2.4
Name: pytest-extended-data
Version: 0.1.0
Summary: Pytest fixtures and assertions for projects using extended-data
Project-URL: Documentation, https://extended-data.dev
Project-URL: Issues, https://github.com/jbcom/extended-data/issues
Project-URL: Source, https://github.com/jbcom/extended-data
Project-URL: Changelog, https://github.com/jbcom/extended-data/blob/main/packages/pytest-extended-data/CHANGELOG.md
Author-email: Jon Bogaty <jon@jonbogaty.com>
Maintainer-email: Jon Bogaty <jon@jonbogaty.com>
License: MIT
Keywords: extended-data,fixtures,pytest,testing
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: extended-data>=8.3.1
Requires-Dist: pytest>=9.0.3
Description-Content-Type: text/markdown

# pytest-extended-data

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

Install it in test environments:

```bash
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.
