Reputation: 2120
I have a test suite which uses both pytest and hypothesis. I can specify which hypothesis profile should be used, on the command line, like this
pytest --hypothesis-profile some_profile
I am struggling to find how to affect a single hypothesis setting without modifying an existing profile or creating a new one. I would like to be able to do something equivalent to the following imaginary example
pytest --hypothesis-profile some_profile --hypothesis-setting 'use_coverage=False'
Does the hypothesis / pytest combination provide any means of modifying a single hypothes setting, on the command line?
Upvotes: 1
Views: 209
Reputation: 2315
Does the hypothesis / pytest combination provide any means of modifying a single hypothes setting, on the command line?
No, it doesn't. There's no major obstacle to doing so though, it's just nobody has implemented it.
Upvotes: 2