https://github.com/anko/tapson-show-list
tapson test result CLI renderer
https://github.com/anko/tapson-show-list
Last synced: 4 months ago
JSON representation
tapson test result CLI renderer
- Host: GitHub
- URL: https://github.com/anko/tapson-show-list
- Owner: anko
- Created: 2015-08-11T21:34:06.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-02T19:56:29.000Z (almost 11 years ago)
- Last Synced: 2025-07-22T11:50:33.822Z (11 months ago)
- Language: LiveScript
- Homepage:
- Size: 305 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.markdown
Awesome Lists containing this project
README
# tapson-show-list [][1] [][2]
A [tapson][3] protocol test result renderer, for the terminal.
Shows planned tests immediately in yellow, and turns them green or red when
they finish (along with the `actual` message in a darker green or red).

Just pipe it tapson on `stdin`.
yourTests | tapson-show-list
If you want it to update whenever something changes, that's another tool's job.
On Linux, a shell script with `inotifywait` works great:
```sh
# Stores test process ID
PID=""
# Wait for changes to input files
inotifywait --quiet -m -e modify whatever-input-files |
while read file; do
# Kill the old process
if [ ! -z "$PID" ]; then
kill "$PID"
fi
# Run process in background and save process id
your-tests | tapson-show-list &
PID=$!
done;
```
## License
[ISC][4].
[1]: https://www.npmjs.com/package/tapson-show-list
[2]: https://david-dm.org/anko/tapson-show-list
[3]: https://github.com/anko/tapson
[4]: http://opensource.org/licenses/ISC