Packaging hooks for reuse #13131
Replies: 2 comments
-
Packaged pytest plugins shup hooks as part of plugins one may promote via the pytest11 entrypoint |
Beta Was this translation helpful? Give feedback.
0 replies
-
This was a lazy question by me actually - there's good templates to reference, for instance https://github.com/ftobia/pytest-ordering/ or any other plugin. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have some standard hooks (
pytest_runtest_makereport
etc) that we want to reuse across several projects. Instead of copy-pastying the conftest.py contents, is there any way to package these hooks for importing later?Beta Was this translation helpful? Give feedback.
All reactions