Skip to main content

Exports unit tests as test runs in Spira (SpiraTest/Team/Plan)

Project description

PyTest Extension for SpiraTest

This version of the plugin is compatible with Python 3.x and SpiraTest/SpiraTeam/SpiraPlan 6.+

The latest documentation for using this extension can be found at http://spiradoc.inflectra.com/Unit-Testing-Integration/Integrating-with-PyTest/

Performance Optimization

The plugin is optimized to have zero overhead when disabled. If you're not using Spira integration, you can disable it in several ways:

Option 1: CLI Flag (Fastest - Zero Overhead)

pytest --spira-disabled

Option 2: Configuration File

Set enabled = false in your spira.cfg:

[settings]
enabled = false

Option 3: Remove Config Files

If you're not using Spira at all, simply don't include spira.cfg or .env.spira files in your project.

Performance Notes

  • When disabled, the plugin performs minimal checks and exits immediately
  • No configuration parsing or file I/O occurs after the first test when disabled
  • Tests run at full speed with no measurable overhead from the plugin

Project details


Download files

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

Source Distribution

pytest_spiratest-2.1.0.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

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

pytest_spiratest-2.1.0-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file pytest_spiratest-2.1.0.tar.gz.

File metadata

  • Download URL: pytest_spiratest-2.1.0.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for pytest_spiratest-2.1.0.tar.gz
Algorithm Hash digest
SHA256 d0288be8c1610f4309368ee26be508f9943789e0d25593624c203029b25b473e
MD5 588b6f3986327d783e73585d9cf531c0
BLAKE2b-256 27de397cb4158887e120c72367cd3fd56c349dc3aecc4bf55098b44064f5c569

See more details on using hashes here.

File details

Details for the file pytest_spiratest-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_spiratest-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc8ba0b8aa7a64a45c4c451d53454ddb9fdad5da0393047b5521d4ea4376b7ca
MD5 9b9724a39de664a309a506a5e854075c
BLAKE2b-256 2b4137f85116fd9c41dc1ac35b787b90708c2b21ae57b5d87a59f750465739f2

See more details on using hashes here.

Supported by

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