skip to navigation
skip to content

pytest-helper 0.2.0

Functions to help in using the pytest testing framework

The pytest-helper package provides several functions which make it easier to set up and run unit tests in Python using the pytest 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

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

pip install pytest-helper
File Type Py Version Uploaded on Size
pytest-helper-0.2.0.tar.gz (md5) Source 2017-09-11 17KB