Simple continuous testing tool
Project description
Continuous testing helper, adapted from [1], but which makes no assumption about what tests you might want to run continuously while developing. See also [2].
Any command supplied to the script will be run once and then repeated any time the code in the current working directory changes. You may wish to edit the IGNORE_* tuples to suit your particular setup.
Note that ANY command you supply the script will be run, so be careful. You have been warned!
- Installation:
./setup.py install # from source
- or
easy_install conttest # or use pip instead of easy_install
- Usage examples:
conttest nosetests conttest ‘nosetests -q && pep8 -r .’
Placing a file .conttest-excludes in the current working directory will exclude subdirectories, e.g.:
.svn .git build install
will skip checking for changes in those directories. This can save quite a bit of time and CPU during normal operation. Currently this works for top-level directories only!
[1] Adapted from https://github.com/brunobord/tdaemon/blob/master/tdaemon.py [2] More on this at http://johnj.com/navblog/continuous-testing-in-python-and-clojure/
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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
File details
Details for the file conttest-0.0.4.tar.gz
.
File metadata
- Download URL: conttest-0.0.4.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d949bbd75a8deb5b3883e6fdae2cb00b967ff6c0f57583df411590660e78f163 |
|
MD5 | 91d022937ed3b6c4cc521ae43886c527 |
|
BLAKE2b-256 | a154d24b294aac840509ebcf02fa1354a0ffb2f7aeb658a2f894eaa38daed332 |