Skip to main content

testrun

A Python library for tests with meaningful output and display (IDLE-compatible)


Version: 1.0.0
Author: ES Alexander
Release Date: 07/Nov/2019


This testing module is intended for small-scale testing of python, including in IDLE. Notable features include:

TestRun: A base class for a test-suite, including automatic test-detection (for methods beginning with test_), running all available tests or a specified set with run_tests, running the tests which failed in the last run with run_failed_tests, and automatic (not in IDLE) and user-generated timeouts while testing.

TestGroup: A class for grouping multiple TestRun instances as though they are a single instance.

Redirect: A class for stream redirection and multiplication, focused on stdin, stdout, and stderr, but also usable for general file streams. Allows for capturing printed output and simulating typed input while testing.

MultiRedirect: A class for managing multiple redirections, allowing for methods to be run simultaneously on all stored redirections.

Usage

Install via pip, using python3 -m pip install --upgrade testrun.

To import the entire module, use import testrun.TestRun as TestRun.

Otherwise, to import one or more classes, use from testrun.TestRun import TestRun, Redirect.

Metadata

Release files for testrun 1.0.0

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

Source distribution (sdist)

Source distribution for testrun 1.0.0
File Size Uploaded Provenance Actions
testrun-1.0.0.tar.gz 10.2 kB Without provenance Details for testrun-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for testrun 1.0.0
File Interpreter ABI Platform Actions
testrun-1.0.0-py3-none-any.whl Python 3 none any Details for testrun-1.0.0-py3-none-any.whl

Total release size: 21.1 kB

Release files / testrun-1.0.0.tar.gz

Download URL testrun-1.0.0.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
069aa734972c8497064bc1845e0fb47b1e563213bbb833d35a10a3046e973c1b
BLAKE2b-256 checksum
How to use checksums
16aab3be8fe827f04ceebde06f93ecf27aa76ffed48d4c75f0894e66e4f824d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.2

Release files / testrun-1.0.0-py3-none-any.whl

Download URL testrun-1.0.0-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
329db52c8699297780cdd5f8fcada142d31e12b67be0eb58137b97376cdc2a21
BLAKE2b-256 checksum
How to use checksums
f59ce7e06584be46868bc6c4210e20f4a30fe94c5ce9384dd207d24d1e4ff0a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.2

Security for testrun 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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