pytest
The pytest testing tool makes it easy to write small tests, yet scales to support complex functional testing.
Documentation: http://pytest.org/latest/
Changelog: http://pytest.org/latest/changelog.html
Issues: https://github.com/pytest-dev/pytest/issues
Features
auto-discovery of test modules and functions,
detailed info on failing assert statements (no need to remember self.assert* names)
modular fixtures for managing small or parametrized long-lived test resources.
multi-paradigm support: you can use pytest to run test suites based on unittest (or trial), nose
single-source compatibility from Python2.6 all the way up to Python3.5, PyPy-2.3, (jython-2.5 untested)
many external plugins.
A simple example for a test:
# content of test_module.py
def test_function():
i = 4
assert i == 3
which can be run with py.test test_module.py. See getting-started for more examples.
For much more info, including PDF docs, see
and report bugs at:
and checkout or fork repo at:
Copyright Holger Krekel and others, 2004-2015 Licensed under the MIT license.
Metadata
Release files for pytest 2.8.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytest-2.8.5.zip | 664.1 kB | Without provenance | Details for pytest-2.8.5.zip |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest-2.8.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pytest-2.8.5-py2.py3-none-any.whl |
Total release size: 815.4 kB
Release files / pytest-2.8.5.zip
| Download URL | pytest-2.8.5.zip |
|---|---|
| Size | 664.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44bb32fb3925b5a284ceee1af55e0a63d25436ec415232089403eed3a347667e
|
|
BLAKE2b-256 checksum How to use checksums |
b13dd7ea9b0c51e0cacded856e49859f0a13452747491e842c236bbab3714afe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytest-2.8.5-py2.py3-none-any.whl
| Download URL | pytest-2.8.5-py2.py3-none-any.whl |
|---|---|
| Size | 151.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f51855b27cf77b0b2faac75c630087ae7b48cff22b2bdbf4b63ba66f5790af98
|
|
BLAKE2b-256 checksum How to use checksums |
d932d037987ff74a2afddec2128293036ba7a96b38f4ace3a90b628b214ca99f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pytest 2.8.5
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.