hackebrot/pytest-tricks

Pass argument from test case to fixture

The-Compiler opened this issue ยท 3 comments

I can see this question coming up a lot ๐Ÿ˜‰

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...

๐Ÿ˜ข