An open API service indexing awesome lists of open source software.

https://github.com/speezepearson/testincessantly

A tool to run your tests way more often than necessary.
https://github.com/speezepearson/testincessantly

developer-tools testing testing-tools

Last synced: 6 months ago
JSON representation

A tool to run your tests way more often than necessary.

Awesome Lists containing this project

README

          

A tool to run your tests way more often than necessary.

Punch Line
----------

Run this:

```bash
$ testincessantly dir test-cmd ...
```

and every time you create/modify/delete a file under `dir`, `test-cmd ...` will get executed.

Installation
------------
Just `pip install testincessantly`.

Typical Usage
-------------

I typically invoke this as

```bash
$ testincessantly -e '.*' -e '__pycache__' . pytest
```
The `-e` options exclude dotfiles and anything named `__pycache__`.

Okay, that was a lie. I actually typically invoke
```bash
$ testincessantly -e '.*' -e '__pycache__' . chime-success pytest
```
`chime-success` is [a script](https://gist.github.com/speezepearson/83c234c40d16c9f7fba73d8bca7a1a75) on my `PATH` that makes a noise indicating whether the argument-command passed or failed. Now, every time I save a file, I get a chime telling me whether things are still good or not.