Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Autotest Python unittest modules

Project Description

This is a utility to provide continuous testing during development. It watches for changes in source and test files and will run the test suite when a change is detected.

Additionally, pyautotest supports posting notifications on Mac OS X using Notification Center and libnotify on Linux.



pip install pyautotest


python install

How to Use

A utility is created autotest that can be run at the root of your Python project. It will use unittest’s discover feature to find tests. It will watch for any *.py files from the current directory recursively:

usage: autotest [-h] [-l L]

Continuously run unit tests when changes detected

optional arguments:
  -h, --help           show this help message and exit
  -l L, --log-level L  set logger level

Optionally, you can run directly from Python using the following:

python -m pyautotest.cli

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(9.6 kB) Copy SHA256 Hash SHA256
Egg 2.7 Jun 4, 2013
(9.8 kB) Copy SHA256 Hash SHA256
Egg 3.3 Jun 4, 2013
(4.9 kB) Copy SHA256 Hash SHA256
Source None Jun 4, 2013
(9.7 kB) Copy SHA256 Hash SHA256
Source None Jun 4, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate