Skip to content

Conversation

@bgentry
Copy link
Contributor

@bgentry bgentry commented Jan 30, 2026

This enables basic assertions against metadata in rivertest.RequireX methods. The approach here isn't anything special: it allows a map[string]any to be specified and considers it a failure if all keys & values in it are not also in the metadata.

This should make it possible to build workflow-related assertions and other metadata assertions much more easily.

@bgentry bgentry requested a review from brandur January 30, 2026 15:13
This enables basic assertions against metadata in `rivertest.RequireX`
methods. The approach here isn't anything special: it allows a
`map[string]any` to be specified and considers it a failure if all keys
& values in it are not also in the metadata.

This should make it possible to build workflow-related assertions and
other metadata assertions much more easily.
@bgentry bgentry force-pushed the bg/rivertest-metadata branch from 05ffe68 to 9e07519 Compare January 30, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants