testdouble / teenytest

A very simple, zero-config test runner for Node.js
MIT License
96 stars 14 forks source link

Support human-readable output #41

Open garybernhardt opened 5 years ago

garybernhardt commented 5 years ago

Right now, test run output is in TAP format, with a second human-readable section at the bottom. Human/TAP output should be toggleable. Probably human is the most reasonable default, with TAP behind a command line flag.

searls commented 5 years ago

One note is that the TAP reporter (implemented as a plugin here) prints the TAP results live as each test is run and the summary (which is more human readable) is only built after all tests have been executed.

Probably better would be to ship an additional formatter (in standard gary-test-format) and have that default and hide TAP behind a flag