Wondering what’s next for npm?Check out our public roadmap! »

    tapson-show-list

    1.1.1 • Public • Published

    tapson-show-list npm package npm dependencies

    A tapson 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).

    demonstration

    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:

    # 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.

    Keywords

    none

    Install

    npm i tapson-show-list

    DownloadsWeekly Downloads

    1

    Version

    1.1.1

    License

    ISC

    Last publish

    Collaborators

    • avatar