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. 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.23.15.tar.gz (13.8 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.23.15-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrig_fixtures-2.23.15.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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.23.15.tar.gz
Algorithm Hash digest
SHA256 9cdbe497e95015da270a6a21b18ddc148f961a0b280e9c8423095dfb0f460712
MD5 43305f360f11851945ab23d07f6e2e5d
BLAKE2b-256 b2b0c3577a18adc29b9cb9b1a9f532613a84e97566d9b79bb8f82650390d8db4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrig_fixtures-2.23.15-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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.23.15-py3-none-any.whl
Algorithm Hash digest
SHA256 f4c51c5cb4599a6eece400e0d061e201b06e3e2f6186fc185bbf0ade78894563
MD5 de459fb8904ec9e51fb013d84567d978
BLAKE2b-256 c0ee726bd89c3c9e586922eab05f28af679aa1e10ca050b8746d183367c1866a

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

This release

2.23.15 This release

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