Skip to main content

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.

Contributing

Sources are available either on bitbucket (mercurial repo) or github (git repo):

Pull request are welcomed !

Project details


Release history Release notifications

This version
History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pytest_tblineinfo-0.4-py2.py3-none-any.whl (4.1 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Dec 1, 2015
pytest-tblineinfo-0.4.tar.gz (2.4 kB) Copy SHA256 hash SHA256 Source None Dec 1, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page