tblineinfo is a py.test plugin that insert the node id in the final py.test report when --tb=line option is used
Project description
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.
Project details
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
Hashes for pytest_tblineinfo-0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bed0845d1bcdb78a3587e736512973f443d3d744ca675fc6f44dc5dd0ba1cadc |
|
MD5 | 93fb48cf8660575aeaad98293d6f8a6b |
|
BLAKE2b-256 | 6a18d74d57f90d37f749b064b9f55d1aed111666752564048bbb787442646df9 |