Skip to content

Conversation

jbusecke
Copy link
Collaborator

@jbusecke jbusecke commented Sep 18, 2025

While I was hacking away on integrating (virtual) icechunk support into titiler multidim I caught myself having to write a bunch of the same code for new datasets, which was error prone.

This PR wraps the store specific parameters into a dict and uses that as parametrized input for values and labels in the existing test functions.

@jbusecke
Copy link
Collaborator Author

Seems like the cdk-checks failure is due to me submitting from a fork?

@hrodmn hrodmn self-requested a review September 18, 2025 18:34
Copy link
Contributor

@hrodmn hrodmn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for refactoring this! I'll see if we can fix the CI but if the unit tests are passing I think we can merge it.

Co-authored-by: Henry Rodman <henry.rodman@gmail.com>
@jbusecke
Copy link
Collaborator Author

Thanks for the suggestion! Just accepted it seems like all the unit tests are passing.

@jbusecke jbusecke mentioned this pull request Sep 18, 2025
3 tasks
@jbusecke jbusecke changed the title Parametrize test parameters across test functions Parametrize test functions Sep 22, 2025
@hrodmn hrodmn merged commit fba089f into developmentseed:main Sep 22, 2025
3 of 4 checks passed
@jbusecke jbusecke deleted the consolidate-tests branch September 22, 2025 16:17
@jbusecke jbusecke self-assigned this Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants