Introduction
pytest-tblineinfo is a py.test plugin that insert the node id in the final py.test report when --tb=line option is used.
Rationale
By default in the --tb=line mode, py.test only report the python file and line where the assertion occurs. When the exception occurs in an helper or plugin function, it is not easy to relate the error with a test.
This plugin is intended to resolve this issue.
Installation
pip install pytest-tblineinfo
Usage
Simply call py.test with --tb=line once the plugin is installed, and the end report of py.test will prefix the errors with the test name.
Contributing
Sources are available either on bitbucket (mercurial repo) or github (git repo):
Pull request are welcomed !
Release files for pytest-tblineinfo 0.4
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-tblineinfo-0.4.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_tblineinfo-0.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / pytest-tblineinfo-0.4.tar.gz
| Download URL | pytest-tblineinfo-0.4.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
637b639e8d3dd01718dcfa0a76ef31b8f65fe1f1ef84bb6e90a86638690ebf75
|
|
BLAKE2b-256 checksum How to use checksums |
6848cf4c8b53edcd6559d9e6637121186c799b59ce6fb2ec23e8224f5aa9898d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytest_tblineinfo-0.4-py2.py3-none-any.whl
| Download URL | pytest_tblineinfo-0.4-py2.py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2b1e9e54ee1cbf3644773121c813eca3f991c0eaf3e6485f787570daab923fa7
|
|
BLAKE2b-256 checksum How to use checksums |
dcda657150ded0568eaa68a0deffd54dcfdb5dd162aab676ff25998fda6df163
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |