Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Functions to help in using the pytest testing framework

Project description

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 https://abarker.github.io/pytest-helper

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

pip install pytest-helper

Project details


Download files

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

Files for pytest-helper, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size pytest-helper-0.2.2.tar.gz (18.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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