Skip to main content

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 files self-testing whenever they are executed as scripts, and a function to simplify modifying the Python search path. One of the most useful features is that relative pathnames are relative to the file in which they occur. 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.

Source Distribution

pytest-helper-0.1.0.tar.gz (16.0 kB view details)

Uploaded Source

File details

Details for the file pytest-helper-0.1.0.tar.gz.

File metadata

File hashes

Hashes for pytest-helper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8fc5b4dd42a92830511f658257655be10443bbf34938c68749864a4e95d7940e
MD5 d772adae9d315b1b2633534c1bd8dc17
BLAKE2b-256 1a44a823e7643afdee6cd0560f005c7314f5521d41a62f90a76935c57a915c0d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page