avajs/ava

Improved reporter experience

Open

#2 500 ouverte le 25 mai 2020

Voir sur GitHub
 (6 commentaires) (2 réactions) (0 assignés)JavaScript (20 600 stars) (1 408 forks)batch import
help wantedscope:reporters

Description

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.

Guide contributeur