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.
Install
Pip:
pip install pyautotest
Source:
python setup.py 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
Dependencies
Required:
watchdog - https://pypi.python.org/pypi/watchdog/0.6.0
Optional:
terminal-notifier - https://github.com/alloy/terminal-notifier
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file pyautotest-0.1.0.zip
.
File metadata
- Download URL: pyautotest-0.1.0.zip
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30b4e9057bea5df08b2f33fadaaad5e47f7efb5bda5eaecbacf83e5001d71f7d |
|
MD5 | 67f580a89ea13c86bf8522055b3e1efc |
|
BLAKE2b-256 | ad8cb939e9ebd63503e3eda6eca787587f5f59477bf94a2269c1f1dabfa49d7d |
File details
Details for the file pyautotest-0.1.0.tar.gz
.
File metadata
- Download URL: pyautotest-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c080755b4251a1779f882336bd5a2585394820e1b37fe9615d2347b8ff18bb3a |
|
MD5 | 37a631f2260a32a030be0a5f8e99a874 |
|
BLAKE2b-256 | 78af176c0226b48bbbbfc8660bafa24ab2fdd8f55b8ef05199c12c2f9a5eecd1 |
File details
Details for the file pyautotest-0.1.0-py3.3.egg
.
File metadata
- Download URL: pyautotest-0.1.0-py3.3.egg
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 371a016845418a61f6fe813dff80cee9533befc7b6297490ecfa5d55dbedffc9 |
|
MD5 | 93cd21388efc7f3a0b30dd566860880d |
|
BLAKE2b-256 | 81fa68182760029044f4017e729241771632af2e858b5074203407e292aad003 |
File details
Details for the file pyautotest-0.1.0-py2.7.egg
.
File metadata
- Download URL: pyautotest-0.1.0-py2.7.egg
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85d33da43cf34222cfc0b4db87ebd1a7378e1ab01dd322ef2d20114725d83d4a |
|
MD5 | 53972547cf87c628ae613a74e48bedcf |
|
BLAKE2b-256 | 57ffa592b674fff129328b2675ac27cf8955e14082729adcc284f6607c6d2d23 |