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
{{ message }}
Repository navigation
Commit e5cc3f2
Browse filesBrowse the repository at this point in the historyBrowse files
You can access the extension from the Testing view in the Visual Studio Code sidebar.
37
37
@@ -53,7 +53,7 @@ Icons next to each test indicate their status—passed (checkmark), failed (cros
53
53
54
54
### In the Test File
55
55
56
-

56
+

57
57
58
58
When viewing a test file, you'll notice test icons in the gutter next to each test case:
59
59
@@ -113,19 +113,19 @@ These options are resolved relative to the [workspace file](https://code.visuals
113
113
114
114
You can reveal the current test file in the test explorer view by selecting the "Reveal in Test Explorer" option (the last option on the screenshot) in the file context:
115
115
116
-

116
+

117
117
118
118
You can also type the same command in the quick picker while the file is open.
119
119
120
-

120
+

121
121
122
122
### Import Breakdown
123
123
124
124
If you use Vitest 4.0.15 or higher, during continuous runs the extension will show how long it took to load the module on the same line where the import is defined. This number includes transform time and evaluation time, including static imports.
125
125
126
126
If you hover over it, you can get a more detailed diagnostic.
You can disable this feature by turning off `vitest.showImportsDuration`.
131
131
@@ -141,11 +141,11 @@ By default, the extension doens't rerun tests when files change.
141
141
142
142
Click on the "eye" icon next to the test, file or a directory to enable "continuous run" for a related item. Whenever that test, file or any file in the directory changes, Vitest will rerun that test. Note that Vitest will also rerun tests if an imported module of the file is changed.
143
143
144
-

144
+

145
145
146
146
To enabled continuous run globally, click on the "eye" icon in the "Test Explorer" row.
147
147
148
-

148
+

149
149
150
150
### How to hide Test Results view when running tests
151
151
@@ -154,7 +154,7 @@ You can change the behaviour of testing view by modifying `testing.automatically
154
154
-`neverOpen` will never open the testing view
155
155
-`openOnTestStart` (default) opens the test results view when test starts running
156
156
-`openOnTestFailure` opens the test results view if at least one of test fails
157
-
-`openExplorerOnTestStart`will open the test tree view when tests starts
157
+
-`openExplorerOnTestStart` will open the test tree view when tests starts
158
158
159
159
This is a vscode's built-in option and will control every plugin.
0 commit comments