avajs/ava

Improved reporter experience

Open

#2500 aperta il 25 mag 2020

Vedi su GitHub
 (6 commenti) (2 reazioni) (0 assegnatari)JavaScript (1408 fork)batch import
help wantedscope:reporters

Metriche repository

Star
 (20.600 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

By default it provides minimal output. We show a spinner and the status of the last test, so you get a sense of activity, and once an entire test file completes do we print failures. In verbose mode, we'd print the results of all tests & hooks, including logs. Various counts for passing and failing tests are always shown at the end of the output.

If a TTY is not available, we wouldn't print a spinner and only write the appropriate output for a test file once it completes.

We'd use ink to construct the output.

Guida contributor