pytest-tricks
pytest-tricks copied to clipboard
Pass argument from test case to fixture
trafficstars
I can see this question coming up a lot :wink:
Possible solutions include:
- Returning a helper object/function from the fixture
- Adding a marker on the test and reading that from the fixture
Sounds like a great article for pytest-tricks! 👍
Do you have time to write a something?
Nope, sorry - too busy with university and other OSS stuff, and from what it looks like this isn't going to change anytime soon...
😢