Skip to content

GH-3615: Use assertThat checks in parquet-column tests#3664

Open
nastra wants to merge 1 commit into
apache:masterfrom
nastra:assertj-parquet-column
Open

GH-3615: Use assertThat checks in parquet-column tests#3664
nastra wants to merge 1 commit into
apache:masterfrom
nastra:assertj-parquet-column

Conversation

@nastra

@nastra nastra commented Jul 14, 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-column 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-column branch from 509aea8 to 1280311 Compare July 14, 2026 11:01
assertEquals(paperArrowSchema, arrow);
}

public void assertEquals(Schema left, Schema right) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

not used anywhere anymore

@nastra nastra force-pushed the assertj-parquet-column branch 8 times, most recently from f19c374 to 8150943 Compare July 14, 2026 13:31
@nastra nastra force-pushed the assertj-parquet-column branch from 8150943 to 4b4e50b Compare July 14, 2026 13:44
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.

1 participant