Metadata-Version: 2.0
Name: pytest-tblineinfo
Version: 0.4
Summary: tblineinfo is a py.test plugin that insert the node id in the final py.test report when --tb=line option is used
Home-page: https://github.com/matclab/pytest-tblineinfo
Author: Mathieu Clabaut
Author-email: mathieu.clabaut@systerel.fr, mathieu@clabaut.net
License: MIT
Platform: any
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Dist: pytest (>=2.0)

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):

-  https://github.com/matclab/pytest-tblineinfo
-  https://bitbucket.org/matclab/pytest-tblineinfo

Pull request are welcomed !


