Sylvain Marié

Results 299 comments of Sylvain Marié

Thanks for the hint ! Do pytest-flake8/coverage/pylint bring any additional value rather than using flake8/coverage/pylint ? I personally always use the latter, and it works fine. Of course other users...

Neat. I personally use `coverage run -m pytest ...` in the CI, it works as a charm as well. I tried to implement the hack discussed above. It works, but...

Thanks @ThomasTNO for the feedback ! I do not have the bandwidth to propose such a feature, but would be happy to review a minimalistic PR that would - detect...

A first difficulty, even without adressing `fixture_ref`s and cases, is to include parameter names in this `indirect` mechanism. Indeed, in pytest fixtures do not support several parameters so using `indirect`...

Nice workaround `from test_foo_cases import *` ! I did not think it would work but actually there is no reason it shouldnt Another possible solution is : stop creating hidden...

Hi @jlorieau , thanks for the feedback ! The usual way to solve this kind of problems is to do it "bottom-up". So - start with the test function and...

Hi @jlorieau , thanks for the feedback ! I think I now understand better what you were looking for. This should be the equivalent for your custom code: (EDITED, see...

You're welcome @jlorieau . So do you confirm that the first option works ? And/or maybe the second ?

I tried today and confirm that the first option works, but not the second. I updated the examples, there were a few typos.

I made the second one work too, just in case you're still interested by this union of cross-products of parametrized fixtures. I edited the example above. Let me know @jlorieau...