Skip to content

test: migrate expect-test snapshots to insta - #64

Merged
gabotechs merged 3 commits into
apache:mainfrom
gabotechs:gabotechs/move-to-insta
Oct 13, 2026
Merged

gabotechs merged 3 commits into
apache:mainfrom
gabotechs:gabotechs/move-to-insta

Conversation

@gabotechs

@gabotechs gabotechs commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Replace the integration tests’ expect-test assertions with inline insta snapshots and remove the direct expect-test dev-dependency. Use Arrow’s pretty_format_batches for result snapshots and schema snapshots with one field per line to preserve assertions on types, nullability, and field metadata. Empty metadata tables also assert that every batch has zero rows, and the insert query uses ORDER BY to keep results deterministic.

Update the snapshot review command in AGENTS.md. The updated Iceberg dependency no longer requires expect-test, so it and dissimilar are also removed from the lockfile.

@gabotechs
gabotechs marked this pull request as draft October 11, 2026 17:38
@gabotechs
gabotechs marked this pull request as ready for review October 12, 2026 06:30
@gabotechs
gabotechs force-pushed the gabotechs/move-to-insta branch from ca3b783 to cbb64ea Compare October 12, 2026 06:32

@andygrove andygrove left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @gabotechs

@gabotechs
gabotechs force-pushed the gabotechs/move-to-insta branch from cbb64ea to 3efe75f Compare October 13, 2026 07:48
@gabotechs
gabotechs merged commit b08dfb3 into apache:main Oct 13, 2026
5 checks passed
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.

3 participants