Metadata-Version: 2.1
Name: pytest-helper
Version: 0.2.2
Summary: Functions to help in using the pytest testing framework
Home-page: https://github.com/abarker/pytest-helper
Author: Allen Barker
Author-email: Allen.L.Barker@gmail.com
License: MIT
Keywords: pytest,py.test,unit tests,testing,running tests
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Unix
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Utilities
Requires-Dist: wheel
Requires-Dist: pytest>=3.1
Requires-Dist: set-package-attribute>=0.2.3

.. default-role:: code

pytest-helper
=============

The pytest-helper package provides several functions which make it easier to
set up and run unit tests in Python using the `pytest <http://pytest.org>`_
testing framework.  For example, there is a function to make modules
self-testing whenever they are executed as scripts, and a function to simplify
making modifications to the Python search path.  One of the most useful
features is that relative pathnames are relative to the directory of the file
in which they occur (i.e., not relative to the CWD).  This package makes use of
pytest but is independent of the official pytest project.

For examples and full documentation, see https://abarker.github.io/pytest-helper
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The easiest way to install is to install from PyPI using pip:

.. code-block:: bash

   pip install pytest-helper

