Improved unittest test runner
Project description
autocheck
=========
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](http://unlicense.org/)
=========
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](http://unlicense.org/)
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
autocheck-0.2.2.tar.gz
(24.7 kB
view hashes)
Built Distribution
Close
Hashes for autocheck-0.2.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d82aa4e6277d7fc3af9662ebe7085c27764f81e8cae80fde4f48baabfcee9841 |
|
MD5 | 0f55c649704e89453d78a67ff7b1609e |
|
BLAKE2b-256 | 52cb4fd15d3f01f8a9354a2d7c7f8f88d3bda13f8b821059366e4ebaf304938c |