Improved unittest test runner
Project description
Run Python unittests automatically. Re-run tests when source has changed. Try to make intelligent decisions about which tests to run.
Example
In project directory with unittests:
$ autocheck discover -v
Accepts the same options as python -m unittest.
Installation
$ pip install autocheck
Optionally, for Growl support:
$ pip install gntp
Install watchdog kernel support according to https://pythonhosted.org/watchdog/installation.html.
Django support
Add autocheck to installed apps:
INSTALLED_APPS = ( ... 'autocheck.contrib.django', ... )
Run tests:
$ autocheck
Tests
Install test requirements:
$ pip install -r requirements.txt $ pip install -r requirements/test.txt
For Python-2.6 additionaly:
$ pip install -r requirements/python-2.6.txt
Run in project directory:
$ PYTHONPATH=. ./bin/autocheck discover -v --once
TODO
make autocheck.autorunner file pattern configurable
License
This is free and unencumbered software released into the public domain.
see UNLICENSE
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for autocheck-0.2.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3547fbf83dfe721997755c678c820a5a1c62040fb0e2660a5f7db9eed527652 |
|
MD5 | f809bffb202ff775423b083c4ae60851 |
|
BLAKE2b-256 | f6104ef7d46da1d917313cb0bc0b4f215a32780a2443685df86da4d79fd01279 |