TvoroG / pytest-lazy-fixture

It helps to use fixtures in pytest.mark.parametrize
MIT License
379 stars 30 forks source link

Readme: clarify simple usecase #55

Closed ewjoachim closed 2 years ago

ewjoachim commented 2 years ago

In this PR, I change the first example in the readme.

For someone who doesn't already know what the lib does, it can be confusing that the first example of using a fixture in a parametrize call actually also uses a parametrized fixture, and one could quickly reach the conclusion that the lib is not actually here to solve their problem (putting fixtures in parametrize) but the other, close but different problem (putting parametrize in fixtures).

ewjoachim commented 2 years ago

Woo thank you for the quick merge !