Skip to main content

pyrig-fixtures

CI CD ProjectTester

ByteOrderMarkerFormatter CaseConflictChecker DependencyAuditor DependencyChecker EndOfFileFormatter EndOfLineFormatter JSONFormatter JSONLinter LargeFileChecker MarkdownLinter MergeConflictChecker ModuleTestNamingChecker PythonLinter SecretsChecker SecurityChecker ShellFormatter ShellLinter SpellChecker TOMLLinter TrailingWhitespaceFormatter TypeChecker YAMLLinter

PackageManager Pyrigger RemoteVersionController VersionControlHookManager VersionController

DocsBuilder PackageIndex ProgrammingLanguage License


A pyrig plugin that provides pytest fixtures support.


Overview

pyrig-fixtures is a pyrig plugin that provides a library of reusable pytest fixtures for testing pyrig projects. Its fixtures — and any contributed by packages that depend on it — are made available automatically in every project that installs it.

What it adds

  • A fixture library — ready-made fixtures for common testing needs: temporary project trees, module and package creation, config-file testing, CLI-command assertions, and environment gating.
  • Automatic, cross-package availability — fixtures are registered as a pytest plugin so they work without imports, and any installed package that depends on pyrig-fixtures contributes its own fixtures the same way.
  • A scaffolding commandpyrig mk fixture <name> adds a new fixture stub to your project's shared fixtures module.
  • An end-to-end init check — an autouse fixture that starts a new pyrig project with pyrig init and checks that it works if your project was added as a plugin. Skip it with pytest --skip-pyrig-fixtures-init-check flag.

Usage

uv add pyrig-fixtures --dev
uv run pyrig sync

Documentation

Full documentation, including the auto-generated API reference, is available on the documentation site.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyrig_fixtures-2.22.5.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrig_fixtures-2.22.5-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file pyrig_fixtures-2.22.5.tar.gz.

File metadata

  • Download URL: pyrig_fixtures-2.22.5.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyrig_fixtures-2.22.5.tar.gz
Algorithm Hash digest
SHA256 14eaa3308acd3d9d25c2f63c2ffef4d822ebfaea0390bbf8a2438041082ddc66
MD5 636c48283ecd74ec0588d3ff1c5b3406
BLAKE2b-256 74c1e5d5cb2c14e5418bead110899fe59804bf2d91cd020d7f1ad3d4455d8085

See more details on using hashes here.

File details

Details for the file pyrig_fixtures-2.22.5-py3-none-any.whl.

File metadata

  • Download URL: pyrig_fixtures-2.22.5-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyrig_fixtures-2.22.5-py3-none-any.whl
Algorithm Hash digest
SHA256 765b87b073073a08a1fd9bac98131146b1f27e72bd6e7a0f145a031da87fca85
MD5 23cd3a7e8b53543ff39405d213079804
BLAKE2b-256 6c6782b71d26391a99c3585c873c8b617f477f8d0feb1572f8dee05cbc8cdfec

See more details on using hashes here.

Release history Release notifications | RSS feed

2.24.30

2 files

2.24.28

2 files

2.24.27

2 files

2.24.26

2 files

2.24.25

2 files

2.24.23

2 files

2.24.22

2 files

2.24.21

2 files

2.24.20

2 files

2.24.19

2 files

2.24.18

2 files

2.24.16

2 files

2.24.13

2 files

2.24.12

2 files

2.24.11

2 files

2.24.10

2 files

2.24.8

2 files

2.24.6

2 files

2.24.3

2 files

2.24.2

2 files

2.24.1

2 files

2.24.0

2 files

2.23.22

2 files

2.23.21

2 files

2.23.20

2 files

2.23.19

2 files

2.23.17

2 files

2.23.16

2 files

2.23.15

2 files

2.23.14

2 files

2.23.11

2 files

2.23.10

2 files

2.23.9

2 files

2.23.8

2 files

2.23.7

2 files

2.23.6

2 files

2.23.5

2 files

2.23.4

2 files

2.23.3

2 files

2.23.1

2 files

2.23.0

2 files

2.22.9

2 files

2.22.8

2 files

2.22.7

2 files

2.22.6

2 files

This release

2.22.5 This release

2 files

2.22.4

2 files

2.22.3

2 files

2.22.2

2 files

2.22.1

2 files

2.22.0

2 files

2.21.0

2 files

2.20.0

2 files

2.19.0

2 files

2.18.0

2 files

2.17.0

2 files

2.16.0

2 files

2.15.0

2 files

2.14.0

2 files

2.5.0

2 files

2.4.0

2 files

2.3.4

2 files

2.3.2

2 files

2.3.1

2 files

2.3.0

2 files

2.2.7

2 files

2.2.6

2 files

2.2.5

2 files

2.2.4

2 files

2.2.3

2 files

2.2.2

2 files

2.2.1

2 files

2.2.0

2 files

2.1.6

2 files

2.1.4

2 files

2.1.3

2 files

2.1.2

2 files

2.1.0

2 files

2.0.1

2 files

2.0.0

2 files

1.1.5

2 files

1.1.0

2 files

1.0.0

2 files

0.31.0

2 files

0.30.0

2 files

0.29.0

2 files

0.28.0

2 files

0.27.0

2 files

0.26.0

2 files

0.25.0

2 files

0.20.0

2 files

0.19.0

2 files

0.18.0

2 files

0.14.0

2 files

0.11.0

2 files

0.10.0

2 files

0.9.0

2 files

0.8.0

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page