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

   ### Is your feature request related to a problem or challenge?
   
   Selected tests in `arrow-buffer` 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-buffer` 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:
   
   - Consolidate repeat-slice tests into named cases for i32, u8, and u16 
inputs with single-element and multi-element slices.
   - Preserve repeat counts around powers of two and the original input values; 
keep the repeat-count checks together.
   
   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