Skip to content

Refactor arrow-row tests with rstest #12384

Open

Description

@Phoenix500526

Is your feature request related to a problem or challenge?

Selected tests in arrow-row repeat setup and assertions or group independent scenarios inside loops. This makes individual cases harder to read and failures harder to identify.

This issue tracks the arrow-row portion of #12328. The implementation is already prepared in #12357 and is awaiting review.

Describe the solution you'd like

Use named rstest cases and independent parameters where they improve readability. The prepared scope is:

  • Parameterize run-end encoded round trips and sorting, Decimal row conversion, invalid empty or truncated inputs, and iterator nth/nth_back cases.
  • Preserve Decimal256-specific values, null ordering and value comparisons, panic expectations, and repeated iterator consumption and exhaustion checks.

Preserve existing behavioral coverage and keep data-generation or stateful loops where they are clearer. This scope changes tests, test helpers, and development dependencies only; no production behavior or public API changes are intended.

Describe alternatives you've considered

Keep existing tests unchanged where parameterization would not improve readability. This issue tracks the selected refactors above, not a requirement to convert every test in the crate.

Additional context

Part of #12328. Implementation: #12357.

Willingness to contribute

I plan to contribute to this feature independently.

Activity

  1. Phoenix500526 commented on Nov 21, 2026

    @Phoenix500526
    ContributorAuthor

    take

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions