Skip to main content

pytest-pspec

https://travis-ci.org/gowtham-sai/pytest-pspec.svg?branch=master https://codecov.io/gh/gowtham-sai/pytest-pspec/branch/master/graph/badge.svg

A pspec format reporter for pytest

http://i.imgur.com/rJRL4x9.png

Install

pip install pytest-pspec

Usage

Add the parameter –pspec when running pytest. Ex:

pytest --pspec your-tests/

Tip: If you don’t want to type --pspec every time you run pytest, add it to addopts in your ini file. Ex:

# content of pytest.ini
# (or tox.ini or setup.cfg)
[pytest]
addopts = --pspec

Configuration file options

pspec_format

Specifies pspec report format, plaintext or utf8 (default: utf8). Ex:

# content of pytest.ini
# (or tox.ini or setup.cfg)
[pytest]
pspec_format = plaintext
$ pytest test_demo.py
============================= test session starts ==============================
platform darwin -- Python 3.5.0, pytest-3.0.7, py-1.4.33, pluggy-0.4.0
rootdir: /private/tmp/demo, inifile: pytest.ini
plugins: pspec-dev
collected 2 items

test_demo.py
Pytest pspec
 [x] prints a BDD style output to your tests
 [x] lets you focus on the behavior

Metadata

Release files for pytest-pspec 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-pspec 0.0.1
File Size Uploaded Provenance Actions
pytest-pspec-0.0.1.tar.gz 4.9 kB Without provenance Details for pytest-pspec-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytest-pspec 0.0.1
File Interpreter ABI Platform Actions
pytest_pspec-0.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for pytest_pspec-0.0.1-py2.py3-none-any.whl

Total release size: 13.0 kB

Release files / pytest-pspec-0.0.1.tar.gz

Download URL pytest-pspec-0.0.1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f881e99606bf28cef0a2c69a581706bf83f302a0080b44d3c543b97c86e5716f
BLAKE2b-256 checksum
How to use checksums
f8f75ca0ca2b508c1b19173163cd4faf9698e0d70501842733d081b316fdccd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pytest_pspec-0.0.1-py2.py3-none-any.whl

Download URL pytest_pspec-0.0.1-py2.py3-none-any.whl
Size 8.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9d4e1f679ce89c4b9e2fd9c660fe5873b189d386176a9741d397a40e7b1c9ad4
BLAKE2b-256 checksum
How to use checksums
4486a8e10fe9c960c30804a4e3416f6b039356d4fc89690355ae7f67e597ecff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pytest-pspec 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page