Pytest fixture to wrangle different implementations behind a facade #2481
vytas7
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Brought up by @webknjaz in PR comment:
In terms of setting up fixtures, @webknjaz wants to share something he came up with over in aio-libs:
This strategy is partially inspired by a technique of wrapping params as dataclasses, that one of the pytest maintainers was showing at a EuroPython tutorial + some of @webknjaz's derivative ideas.
Beta Was this translation helpful? Give feedback.
All reactions