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
Metadata
Release files for pytest-spiratest 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest_spiratest-2.1.1.tar.gz | 21.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_spiratest-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.1 kB
Release files / pytest_spiratest-2.1.1.tar.gz
| Download URL | pytest_spiratest-2.1.1.tar.gz |
|---|---|
| Size | 21.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
59cd20085ae1272d5c3ff770a80c690311756503606d54f5465ce0cd19441412
|
|
BLAKE2b-256 checksum How to use checksums |
31528f8681c46f76a35a2fc5267869c56b61f70f81a7cad8d9f9db9de6bf2e6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / pytest_spiratest-2.1.1-py3-none-any.whl
| Download URL | pytest_spiratest-2.1.1-py3-none-any.whl |
|---|---|
| Size | 23.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26bb0fe6d0000741793e1ed79732da44d3e570f1e2510f00c09754c27c4add6f
|
|
BLAKE2b-256 checksum How to use checksums |
e3a1238464122cae81f6179ea2106ae6d312f6731485f899df73bf85ca2724d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|