Skip to main content

A package for tests with meaningful output and display (IDLE-Compatible)

Project description

testrun

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


Version: 0.0.5
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.

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

testrun-0.0.5.tar.gz (9.9 kB view hashes)

Uploaded Source

Built Distribution

testrun-0.0.5-py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 3

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