Slides and code and such for a talk for PyCascades 2023.

  • Talk page: Sharing is Caring - Sharing pytest Fixtures

  • Summary:

    pytest rocks, obviously. When people start using pytest as a team, they often come up with cool fixtures that would be great to share across projects. In fact, many great Python packages come pre-loaded with pytest fixtures. This talk describes how easy it is to share fixtures using the pytest plugin model.

  • Note: It’s also a good example of using Python’s fairly recent lightweight packaging tools using pyproject.toml, including flit, hatch, and setuptools.

  • slides and code

  • pytest-crayons project

  • Video: Sharing pytest Fixtures