You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/reporters.md
+54-13Lines changed: 54 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -96,33 +96,54 @@ This example will write separate JSON and XML reports as well as printing a verb
96
96
97
97
### Default Reporter
98
98
99
-
By default (i.e. if no reporter is specified), Vitest will display results for each test suite hierarchically as they run, and then collapse after a suite passes. When all tests have finished running, the final terminal output will display a summary of results and details of any failed tests.
99
+
By default (i.e. if no reporter is specified), Vitest will display summary of running tests and their status at the bottom. Once a suite passes, its status will be reported on top of the summary.
100
+
101
+
You can disable the summary by configuring the reporter:
The `basic` reporter displays the test files that have run and a summary of results after the entire suite has finished running. Individual tests are not included in the report unless they fail.
146
+
The `basic` reporter is equivalent to `default` reporter without `summary`.
126
147
127
148
:::code-group
128
149
```bash [CLI]
@@ -151,7 +172,7 @@ Example output using basic reporter:
151
172
152
173
### Verbose Reporter
153
174
154
-
Follows the same hierarchical structure as the `default` reporter, but does not collapse sub-trees for passed test suites. The final terminal output displays all tests that have run, including those that have passed.
175
+
Verbose reporter is same as `default` reporter, but it also displays each individual test after the suite has finished. It also displays currently running tests that are taking longer than [`slowTestThreshold`](/config/#slowtestthreshold). Similar to `default` reporter, you can disable the summary by configuring the reporter.
0 commit comments