Commit e4dec68
authored
Run all tests when none are specified in TestRunRequest (#1765)
VS Code provides commands like `Tests: Run Tests` that can be executed
before we have a list of tests from the LSP. When we recieve an empty
`TestRunRequest` today we gather up all the tests we know about and run
those by creating the appropriate `--filter` arguments to pass to `swift
test`.
To ensure we run all the tests whether the LSP has informed us of them
or not, run `swift test` with no filter when we recieve an empty
`vscode.TestRunRequest`.
Issue: #17641 parent 9836774 commit e4dec68
File tree
2 files changed
+20
-6
lines changed- src/TestExplorer
- test/integration-tests/testexplorer
2 files changed
+20
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | | - | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
45 | 51 | | |
46 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
47 | 61 | | |
48 | 62 | | |
49 | 63 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 79 | + | |
83 | 80 | | |
84 | 81 | | |
85 | 82 | | |
| |||
132 | 129 | | |
133 | 130 | | |
134 | 131 | | |
| 132 | + | |
135 | 133 | | |
136 | 134 | | |
137 | 135 | | |
138 | 136 | | |
139 | 137 | | |
140 | 138 | | |
| 139 | + | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
0 commit comments