February 2022
Intermediate to advanced
274 pages
6h 28m
English
Walking through the steps to go from pytest-skip-slow to pytest-skip-slow-full will help you learn how to build and test a plugin.
The supplied source code includes the following:
Try out -v, --slow, and -v -m slow --slow in the local directory.
Go to the pytest-skip-slow directory.
pip install flit and run flit init. Use your own information.
Modify the pyproject.toml file as described in the chapter.
Run flit build and try out the generated wheel.
Add tests and a tox.ini file to run tests with either pytest or tox.
(Bonus) Create a plugin with a fixture, instead of hook ...
Read now
Unlock full access