~/talk

Testing your Plone codebase with Pytest

Talkat Python Web Conf 2023 · 2023-03-13..03-17· [testing, python]
slides:none on file

Plone 6 projects move from old unittest layers to Pytest by switching the runner and adding the pytest-plone plugin, replacing verbose setup with fixtures like installer and browser_layer, and keeping legacy tests runnable during migration; example conversions show collective.case study tests, content-rule tests and a notifier tested with httpx mocked notifier and parameterized behaviors, cutting boilerplate and speeding runs across a 10,000-test corpus while preserving integration checks and upgrade-step testing.

AI-written summary · about

  1. 0:00Introduction and thanks
  2. 1:11What is Plone CMS
  3. 6:04Testing in Plone history
  4. 9:14Why switch to pytest
  5. 13:25Introducing pytest-plone
  6. 16:10Testing Plone integrations
  7. 17:59Case study testing demo
  8. 27:32Content rules testing
  9. 33:37Future of testing in Plone
  10. 34:20Why choose Plone
  11. 35:42Community and resources
  12. 36:44Closing and contact
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.