Skip to content

Latest commit

 

History

History
108 lines (66 loc) · 4.61 KB

File metadata and controls

108 lines (66 loc) · 4.61 KB

Changelog

1.0.0a3 (2026-04-18)

New features:

  • Added @pytest.mark.portal marker support for configuring the portal fixture with GenericSetup profiles, pre-created content, and user roles. @ericof #37
  • Added the uninstalled fixture — reads a user-provided package_name fixture and calls installer.uninstall_product, removing boilerplate from the canonical add-on uninstall smoke test. @ericof #38
  • Added functional_app, functional_portal, and functional_http_request fixtures — functional-layer counterparts to app, portal, and http_request. functional_portal honors the @pytest.mark.portal marker. @ericof #39
  • Added request_factory, manager_request, and anon_request fixtures — build a RelativeSession against the functional portal with Manager, Anonymous, or custom basic-auth credentials. Replaces boilerplate duplicated across downstream codebases. @ericof #40
  • Added apply_profiles session-scoped fixture to apply GenericSetup profiles to a Plone site. @ericof
  • Added create_content session-scoped fixture to create content items in a Plone site as the site owner. @ericof
  • Added grant_roles session-scoped fixture to grant local roles to the test user on a given context. @ericof

Internal:

  • 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

1.0.0a2 (2025-06-11)

Internal:

  • Upgrade zope.pytest to version 8.3. @ericof #35
  • Fix Makefile release target @ericof
  • Upgrade pytest to version 8.4.0. @ericof

Documentation:

  • Fix Tests badge on README.md. @stevepiercy #31

1.0.0a1 (2025-03-27)

Breaking changes:

  • Drop support for Python 3.8 @ericof #17
  • Drop support for Python 3.9 @ericof #18

New features:

  • 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

Internal:

  • Move from setuptools to hatchling for package build. @ericof #21
  • Package metadata now lives in pyproject.toml. @ericof #22
  • Use UV to manage the development environment. @ericof #23
  • Add default .vscode configuration @ericof #25
  • Add type hints and check codebase with mypy #27
  • Don't reformat .md files. @stevepiercy #28

0.5.0 (2024-05-15)

New features:

  • Add fixture generate_mo to compile translation files during tests [@ericof] #5
  • Move from gocept.pytestlayer to zope.pytestlayer [@ericof] #11

Internal:

  • 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

0.2.0 (2023-01-05)

  • Add app fixture. [ericof]

  • Add setup_tool and profile_last_version fixtures. [ericof]

  • Add get_fti and get_behaviors fixtures. [ericof]

  • Add get_vocabulary fixture. [ericof]

0.1.0 (2023-01-04)

  • Fixtures portal, http_request, installer, browser_layers, controlpanel_actions [ericof]

  • Initial release [ericof]