Adding fixtures to non-pytest test #13843
Unanswered
sashko1988
asked this question in
Q&A
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.
-
Hello folks.
I need your help with adding fixtures to non-pytest tests.
By non-pytest tests, I mean tests that are either created with
pytest_pycollect_makeitemor even non-python tests.Example of the former (#13814) and latter(#12892):
I have a session-scoped fixture named
my_special_fixture, that I want to use with all instances of these tests and some of the regular pytest tests.How can I call the fixture for non-pytest tests?
Thanx
Beta Was this translation helpful? Give feedback.
All reactions