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 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.

Source Distribution

pytest-helper-0.2.2.tar.gz (18.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pytest-helper-0.2.2.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for pytest-helper-0.2.2.tar.gz
Algorithm Hash digest
SHA256 b1f84c540f127bf900d19ec0c7c2dc6b989bc846971a2d2ed3bcc7d834109f4f
MD5 ff5da126c54be14a0bce2cb08bb9331f
BLAKE2b-256 54e13b61cc5d4045fff9190bbeaf89c23786228048a01953f2c6810eec0aaaaa

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