The Leading
Open-Source Python
CMS
Over 20 years of history
Worldwide community
Protected by the Plone Foundation
Slide 4
Slide 4 text
Secure, Accessible and
Future-proof
Proven security record
Focus on accessibility and usability
Headless support
Slide 5
Slide 5 text
Testing with Plone
"Untested code is broken code"
First test: 2002-10-07
unittest
Robot Framework, Selenium, Cypress
Slide 6
Slide 6 text
Testing Plone
20 years of tests
Plone 5.2, Plone 6.0
Python 2.7, 3.7, 3.8, 3.9. 3.10, 3.11
Slide 7
Slide 7 text
pytest
Slide 8
Slide 8 text
Simple & "Pythonic"
Dependency injection
Large ecosystem
Support for unittests
I ❤ pytest
Slide 9
Slide 9 text
unittest pytest
Slide 10
Slide 10 text
Plone
pytest
Slide 11
Slide 11 text
pytest-plone
Built on top of gocept.pytestlayer
Provides Fixtures and Helpers
Already in use in many projects
Slide 12
Slide 12 text
collective.casestudy
Slide 13
Slide 13 text
contentrules.slack
Slide 14
Slide 14 text
Join us
Slide 15
Slide 15 text
CREDITS: This presentation template was created by Slidesgo,
including icons by Flaticon, and infographics & images by Freepik.
Obrigado!
Érico Andrei
[email protected]
@ericof ericof @[email protected]
https://speakerdeck.com/ericof
https://speakerdeck.com/ericof/testing-your-plone-codebase-with-pytest