Phoenix500526 opened a new issue, #12373: URL: https://github.com/apache/arrow-rs/issues/12373
### Is your feature request related to a problem or challenge? Some tests in `arrow-cast` use nested parameter loops or repeat setup and assertions across closely related conversion cases. This makes the scenarios harder to read and individual failures harder to identify. This issue tracks the `arrow-cast` portion of #12328. ### Describe the solution you'd like Use `rstest` where named cases or independent parameter combinations improve readability, and share test bodies where the setup and assertions are equivalent. The scope includes: - Dictionary, interval, and list conversion tests. - Date and time conversion tests. - Decimal conversion, rounding, and overflow tests. - Other conversion, parsing, and formatting tests with repeated setup and assertions. Preserve the existing inputs, expected values, parameter combinations, null handling, safe/strict behavior, and Miri ignore configuration. Keep loops that construct data or verify a sequence when parameterizing them would make the tests harder to read. Split the work into several focused PRs to keep review manageable. This is a test refactor with no intended production behavior or public API changes. Unrelated test defects will be handled separately. ### Describe alternatives you've considered Keep existing loops and standalone tests where introducing parameters would not improve readability. ### Additional context Parent issue: #12328. ### 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]
