Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 915 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 915 Bytes

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

Punch Line

Run this:

    $ 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

    $ testincessantly -e '.*' -e '__pycache__' . pytest

The -e options exclude dotfiles and anything named __pycache__.

Okay, that was a lie. I actually typically invoke

    $ testincessantly -e '.*' -e '__pycache__' . chime-success pytest

chime-success is a script 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.