Replies: 2 comments 6 replies
-
You code only adds the plugin to the initial process, xdist starts new processes without your plugin added What's the use case for the custom data? |
Beta Was this translation helpful? Give feedback.
5 replies
-
the posted yaml example can be interpreted as a fight against the pytest architecture/apis its not clear to me what the end goal is, but the layout compared to how pytest does things seems to me like a major friction point |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I am making my custom test items using
pytest_pycollect_makeitem
and adding some context to the test item(although I am not sure if this is the right way of doing things). My code looks like the following.main.py
test.py
when running the code I get the following error.
How do I add context in
pytest_pycollect_makeitem
and access the context while using pytest-xdistBeta Was this translation helpful? Give feedback.
All reactions