Skip to content

This release adds support for nested dataclass hierarchies in fixture options, enabling multi-level structured configurations in test frontmatter.

Feb 11, 2026 · @mavam, @claude · #18

Fixture options now support nested dataclass hierarchies, allowing you to structure complex configurations with multiple levels of organization.

Previously, fixture options were limited to flat fields. Now you can declare nested dataclasses as field types, and tests can pass deeply structured options through frontmatter:

fixtures:
- node:
server:
message:
greeting: world

Type safety is preserved across all nesting levels. Optional nested fields (declared with Optional[T] or T | None) are supported, and omitted nested records use their default values. The example server fixture demonstrates this capability with a message.greeting field that flows through to environment variables.