avajs/ava

Improved reporter experience

Open

#2500 opened on May 25, 2020

View on GitHub
 (6 comments) (2 reactions) (0 assignees)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.

Contributor guide