Phoenix500526 opened a new issue, #12378:
URL: https://github.com/apache/arrow-rs/issues/12378

   ### Is your feature request related to a problem or challenge?
   
   Selected tests in `arrow-array` 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-array` portion of #12328. The implementation is 
already prepared in #12354 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 Union construction, validation, and slicing tests, including 
successful and invalid construction cases.
   - Parameterize Decimal types and scales, FFI byte-array types and offsets, 
and fixed-offset timezone cases.
   - Keep the distinct Decimal error-message checks, and cover suffix and 
start-empty Union slices in both modes.
   
   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: #12354.
   
   ### Willingness to contribute
   
   I plan to contribute to this feature independently.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to