How-to guides#
Practical recipes for people who already know what they want.
- How to set up pytest-plone in your add-on
Add the plugin to an existing add-on and write your
conftest.py.- How to test that your add-on installs and uninstalls
The canonical setup suite: the add-on installs, brings its pieces, and removes them again.
- How to test a REST API endpoint
Drive a
plone.restapiservice with real HTTP requests.- How to speed up a slow test suite
Diagnose a slow suite and fix it.