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

后端 未结 0 688
清歌不尽
清歌不尽 2021-02-12 00:41

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 :

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