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.11.tar.gz (14.2 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.11-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrig_fixtures-2.24.11.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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.24.11.tar.gz
Algorithm Hash digest
SHA256 4a0bf3106e843237ba2a82fa49b49eb207c9d9a1772c31fe0eb27b62c3628e8e
MD5 9fc6b9d7298a980831dff930afa580b2
BLAKE2b-256 ab620c07b189bb27f57b4374ecb65f49c5917f3fad1127181320f435089f93dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrig_fixtures-2.24.11-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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.24.11-py3-none-any.whl
Algorithm Hash digest
SHA256 be5a593dcd57815080b0e6dce562c858165c16d75d3096f8e105bd71f2b770be
MD5 122a65ab96362484e5a002a9d7183717
BLAKE2b-256 17b9996a3bf4cc5c6791e40b9ff9700537c2f9d94f1ee9bf0b91bf0b8564f349

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

This release

2.24.11 This release

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