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.17.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.17-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrig_fixtures-2.23.17.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.17.tar.gz
Algorithm Hash digest
SHA256 50d8e00b48a0c007e18981d22a65ba4afc8cd8168c9b114acb995a65030197cb
MD5 637b97ebb394110842b94f5f609519b8
BLAKE2b-256 ee2d92ca3596da2c27887f8182b4c2208512d8a533bf5bc5671907718c25dab6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrig_fixtures-2.23.17-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.17-py3-none-any.whl
Algorithm Hash digest
SHA256 18c16db56d817df3c2a6105fa1581be7571c09d8721835cce6cf7eed1c7a3418
MD5 2ba2db47ebd227859e774ce92f814a43
BLAKE2b-256 e863291d11571d94c98f71ed8f6fcfde776f3df063f2ef30201e2ff2c9a431f7

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

This release

2.23.17 This release

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