Refactor arrow-csv tests with rstest

Aperta
#12,386 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Phoenix500526 ci sta già lavorando.

Dal 21/11/2026.

  • #12361 di @Phoenix500526 — chiusa senza merge

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Is your feature request related to a problem or challenge?

Selected tests in arrow-csv 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-csv portion of #12328. The implementation is already prepared in #12361 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 buffered reads, Decimal reads, custom input formats, whitespace handling, writer options, and truncated-row counts.
  • Preserve buffer-size combinations, paired Decimal types and precision, complete output comparisons, default writer configuration, and existing Miri exclusions.

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: #12361.

Willingness to contribute

I plan to contribute to this feature independently.

Lingua principale
Rust
Stelle
3.7k
Fork
1.5k
Merge medio
2g 16h
PR unite (30g)
183

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/arrow-rs

Tutte le issue di apache/arrow-rs

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.