- Added
@pytest.mark.portalmarker support for configuring theportalfixture with GenericSetup profiles, pre-created content, and user roles. @ericof #37 - Added the
uninstalledfixture — reads a user-providedpackage_namefixture and callsinstaller.uninstall_product, removing boilerplate from the canonical add-on uninstall smoke test. @ericof #38 - Added
functional_app,functional_portal, andfunctional_http_requestfixtures — functional-layer counterparts toapp,portal, andhttp_request.functional_portalhonors the@pytest.mark.portalmarker. @ericof #39 - Added
request_factory,manager_request, andanon_requestfixtures — build aRelativeSessionagainst the functional portal with Manager, Anonymous, or custom basic-auth credentials. Replaces boilerplate duplicated across downstream codebases. @ericof #40 - Added
apply_profilessession-scoped fixture to apply GenericSetup profiles to a Plone site. @ericof - Added
create_contentsession-scoped fixture to create content items in a Plone site as the site owner. @ericof - Added
grant_rolessession-scoped fixture to grant local roles to the test user on a given context. @ericof
- Updated CI workflows: bumped actions/checkout to v6 and astral-sh/setup-uv to v8.0.0, replaced manual cache with setup-uv built-in caching, fixed Makefile venv creation conflict with setup-uv, and added fail-fast: false to test matrix. @ericof
- Updated VS Code settings: removed obsolete flake8 config, added plone-stubs to analysis paths. @ericof
- Updated development tooling: bumped Plone version to 6.1.4, added plone-stubs to test dependencies, updated mx.ini and .gitignore. @ericof
- Upgrade zope.pytest to version 8.3. @ericof #35
- Fix Makefile release target @ericof
- Upgrade pytest to version 8.4.0. @ericof
- Fix Tests badge on
README.md. @stevepiercy #31
- Add support for Python 3.13 @ericof #19
- Add support for Plone 6.1 @ericof #20
- Add docstring for every fixture provided by pytest-plone @ericof #24
- Move from
setuptoolstohatchlingfor package build. @ericof #21 - Package metadata now lives in
pyproject.toml. @ericof #22 - Use UV to manage the development environment. @ericof #23
- Add default
.vscodeconfiguration @ericof #25 - Add type hints and check codebase with
mypy#27 - Don't reformat
.mdfiles. @stevepiercy #28
- Add fixture
generate_moto compile translation files during tests [@ericof] #5 - Move from
gocept.pytestlayertozope.pytestlayer[@ericof] #11
- Implement plone/meta [@ericof] #6
- Clean up dependencies for pytest-plone [@thet], [@gforcada], [@ericof] #9
- Pin pytest version to be lower than 8.0 [@ericof] #12
- Update plone/meta [@ericof] #13
-
Add
appfixture. [ericof] -
Add
setup_toolandprofile_last_versionfixtures. [ericof] -
Add
get_ftiandget_behaviorsfixtures. [ericof] -
Add
get_vocabularyfixture. [ericof]
-
Fixtures
portal,http_request,installer,browser_layers,controlpanel_actions[ericof] -
Initial release [ericof]