Test & Code - Python Testing & Development

116: 15 amazing pytest plugins - Michael Kennedy

Informações:

Synopsis

pytest plugins are an amazing way to supercharge your test suites, leveraging great solutions from people solving test problems all over the world. In this episode Michael and I discuss 15 favorite plugins that you should know about.We also discuss fixtures and plugins and other testing tools that work great with pytesttoxGitHub ActionsCoverage.pySelenium + splinter with pytest-splinterHypothesisAnd then our list of pytest plugins:pytest-sugar pytest-cov pytest-stress pytest-repeat pytest-instafail pytest-metadatapytest-randomlypytest-xdist pytest-flake8 pytest-timeout pytest-spec pytest-picked pytest-freezegun pytest-check fluentcheckThat last one isn't a plugin, but we also talked about pytest-splinter at the beginning. So I think it still counts as 15.Special Guest: Michael Kennedy.Links:pytest-sugar — changes the default look and feel of pyptest (e.g. progressbar, show tests that fail instantly)pytest-cov — run coverage.py from pytestpytest-stress — allows you to loop tests for a user defined amount of ti