Skip to main content

pyrig-fixtures

CI CD ProjectTester

ByteOrderMarkerFormatter CaseConflictChecker 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 builds this project, initializes a fresh scratch project with it installed as a pyrig plugin via pyrig init, and verifies everything works. Runs once per test session even under pytest-xdist. Skip it with the --skip-init-pyrig-project pytest flag (--sipp for short).

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.24.21.tar.gz (14.6 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.24.21-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrig_fixtures-2.24.21.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","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":null}

File hashes

Hashes for pyrig_fixtures-2.24.21.tar.gz
Algorithm Hash digest
SHA256 8ce998a6c6da189c167ba713671904cbb54a22e3470c6212c3309e7fe8410880
MD5 f1f6c2ce42770d76fdc03be20745d407
BLAKE2b-256 aeb0c630a8edcc2255f6d03cbf5c23e5b9f14738273706491f8c1edfc955cabb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrig_fixtures-2.24.21-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","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":null}

File hashes

Hashes for pyrig_fixtures-2.24.21-py3-none-any.whl
Algorithm Hash digest
SHA256 8fd1b1ae8a98b27910863001b1418f3bc1c0d24662675f7d4da3cd8461a6d4a9
MD5 31c47e74bd46ab38946584068cc2ba73
BLAKE2b-256 a02329411b1c6635dbc49c49114a8ccc7f6e71046fe2c9ec49a802aebcf8987a

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

This release

2.24.21 This release

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

2.22.5

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