pytest-instafail icon indicating copy to clipboard operation
pytest-instafail copied to clipboard

Support setting `instafail` in `pytest.ini`

Open s0undt3ch opened this issue 9 years ago • 5 comments

s0undt3ch avatar Aug 12 '16 13:08 s0undt3ch

Why not simply use addopts = --instafail in the ini?

The-Compiler avatar Aug 12 '16 17:08 The-Compiler

Hello there @The-Compiler!

I reply your question with a question, why not supporting the ini?

:smile:

s0undt3ch avatar Aug 12 '16 18:08 s0undt3ch

OK, a better answer, I prefer not to use addopts whenever I can, and this enables that.

s0undt3ch avatar Aug 13 '16 22:08 s0undt3ch

Updated PR to use **kwargs as suggested.

s0undt3ch avatar Aug 20 '16 14:08 s0undt3ch

Updated

s0undt3ch avatar Sep 28 '16 17:09 s0undt3ch