pytest : how to parametrize a test with every fixtures satisfying a certain condition

后端 未结 0 1828
孤城傲影
孤城傲影 2021-02-12 01:13

I have a large set of scenarios defined as pytest fixtures. I would like to run my test suite with all these scenarios. The following example gives a quite satisfying solution :

相关标签:
回答
  • 消灭零回复
提交回复
热议问题