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.0.2.tar.gz (18.4 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.0.2-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest_spiratest-2.0.2.tar.gz
  • Upload date:
  • Size: 18.4 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.0.2.tar.gz
Algorithm Hash digest
SHA256 f31343cc937ad2aee5cf06ea346f48d7a2fb8ed0bc7853566a24dda47de9010a
MD5 7f66bea46c26d7154537817e98d33a51
BLAKE2b-256 eff51a72adb7bf353f8dbcc29ea8eb858ff60dd606f0cf4bca5f68cc6234c707

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_spiratest-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a9ac9b353b17ddc1910af82fd014e5c91cc23dabe8fa2ace8a8dc3ae8dc76387
MD5 0bf5421790e152a13fd5f12fb660e668
BLAKE2b-256 a35f058a028f536d89c84740d8822db515b7487ce7ab4485943d35d0dd6d8f30

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