Skip to content

GH-3652: Use assertThat checks in parquet-cli tests#3661

Open
nastra wants to merge 2 commits into
apache:masterfrom
nastra:assertj-parquet-cli
Open

GH-3652: Use assertThat checks in parquet-cli tests#3661
nastra wants to merge 2 commits into
apache:masterfrom
nastra:assertj-parquet-cli

Conversation

@nastra

@nastra nastra commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Rationale for this change

Switching assertions from JUnit4-style Assert to AssertJ makes code easier to read and debug when tests fail.

What changes are included in this PR?

This updates parquet-cli tests to use AssertJ checks, which provide more fluent assertions and more detailed information when assertions fails on CI.

The changes in this PR were done with the help of Claude but I manually reviewed every single LOC

Are these changes tested?

yes, existing tests

Are there any user-facing changes?

no

@nastra nastra force-pushed the assertj-parquet-cli branch from 253a8e7 to 64d8cc9 Compare July 14, 2026 10:12
@nastra

nastra commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

/cc @Fokko @wgtmac

@nastra nastra force-pushed the assertj-parquet-cli branch from 64d8cc9 to 27256ca Compare July 14, 2026 10:38

@Fokko Fokko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @nastra This one cleans up very nicely!

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