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.
- Host: GitHub
- URL: https://github.com/speezepearson/testincessantly
- Owner: speezepearson
- Created: 2017-04-02T01:50:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-02-29T21:19:31.000Z (over 6 years ago)
- Last Synced: 2025-10-30T03:55:07.810Z (8 months ago)
- Topics: developer-tools, testing, testing-tools
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.