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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_spiratest-2.1.1.tar.gz.
File metadata
- Download URL: pytest_spiratest-2.1.1.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59cd20085ae1272d5c3ff770a80c690311756503606d54f5465ce0cd19441412
|
|
| MD5 |
a68046f6f618a8e49c18d887689cd971
|
|
| BLAKE2b-256 |
31528f8681c46f76a35a2fc5267869c56b61f70f81a7cad8d9f9db9de6bf2e6e
|
File details
Details for the file pytest_spiratest-2.1.1-py3-none-any.whl.
File metadata
- Download URL: pytest_spiratest-2.1.1-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26bb0fe6d0000741793e1ed79732da44d3e570f1e2510f00c09754c27c4add6f
|
|
| MD5 |
a8cf365f11941b783a5735d1f5b0e530
|
|
| BLAKE2b-256 |
e3a1238464122cae81f6179ea2106ae6d312f6731485f899df73bf85ca2724d2
|