Skip to main content

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

Release files for pytest-helper 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-helper 0.2.2
File Size Uploaded
pytest-helper-0.2.2.tar.gz 18.8 kB Details

Release files / pytest-helper-0.2.2.tar.gz

Download URL pytest-helper-0.2.2.tar.gz
Size 18.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b1f84c540f127bf900d19ec0c7c2dc6b989bc846971a2d2ed3bcc7d834109f4f
BLAKE2b-256 checksum
How to use checksums
54e13b61cc5d4045fff9190bbeaf89c23786228048a01953f2c6810eec0aaaaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page