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: CONTRIBUTING.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,10 +98,11 @@ We have several types of tests:
98
98
* Unit tests: these live in the `tests/unit-tests/` directory
99
99
* View tests: these live in `src/view/variant-analysis/__tests__/`
100
100
* VSCode integration tests:
101
-
*`test/vscode-tests/no-workspace` tests: These are intended to cover functionality that is meant to work before you even have a workspace open.
101
+
*`test/vscode-tests/activated-extension` tests: These are intended to cover functionality that require the full extension to be activated but don't require the CLI. This suite is not run against multiple versions of the CLI in CI.
102
+
*`test/vscode-tests/no-workspace` tests: These are intended to cover functionality around not having a workspace. The extension is not activated in these tests.
102
103
*`test/vscode-tests/minimal-workspace` tests: These are intended to cover functionality that need a workspace but don't require the full extension to be activated.
103
104
* CLI integration tests: these live in `test/vscode-tests/cli-integration`
104
-
* These tests are intendended to be cover functionality that is related to the integration between the CodeQL CLI and the extension.
105
+
* These tests are intended to cover functionality that is related to the integration between the CodeQL CLI and the extension. These tests are run against each supported versions of the CLI in CI.
105
106
106
107
The CLI integration tests require an instance of the CodeQL CLI to run so they will require some extra setup steps. When adding new tests to our test suite, please be mindful of whether they need to be in the cli-integration folder. If the tests don't depend on the CLI, they are better suited to being a VSCode integration test.
107
108
@@ -119,7 +120,7 @@ Then, from the `extensions/ql-vscode` directory, use the appropriate command to
119
120
120
121
* Unit tests: `npm run test:unit`
121
122
* View Tests: `npm test:view`
122
-
* VSCode integration tests: `npm run integration`
123
+
* VSCode integration tests: `npm run test:vscode-integration`
123
124
124
125
###### CLI integration tests
125
126
@@ -130,7 +131,7 @@ The CLI integration tests require the CodeQL standard libraries in order to run
130
131
2. Run your test command:
131
132
132
133
```shell
133
-
cd extensions/ql-vscode && npm run cli-integration
134
+
cd extensions/ql-vscode && npm run test:cli-integration
134
135
```
135
136
136
137
##### 2. From VSCode
@@ -161,13 +162,13 @@ The easiest way to run a single test is to change the `it` of the test to `it.on
161
162
to only run tests for this specific file. For example, to run the test `test/vscode-tests/cli-integration/run-queries.test.ts`:
162
163
163
164
```shell
164
-
npm run cli-integration -- --runTestsByPath test/vscode-tests/cli-integration/run-queries.test.ts
165
+
npm run test:cli-integration -- --runTestsByPath test/vscode-tests/cli-integration/run-queries.test.ts
165
166
```
166
167
167
168
You can also use the `--testNamePattern` option to run a specific test within a file. For example, to run the test `test/vscode-tests/cli-integration/run-queries.test.ts`:
168
169
169
170
```shell
170
-
npm run cli-integration -- --runTestsByPath test/vscode-tests/cli-integration/run-queries.test.ts --testNamePattern "should create a QueryEvaluationInfo"
171
+
npm run test:cli-integration -- --runTestsByPath test/vscode-tests/cli-integration/run-queries.test.ts --testNamePattern "should create a QueryEvaluationInfo"
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ The extension is released. You can download it from the [Visual Studio Marketpla
7
7
To see what has changed in the last few versions of the extension, see the [Changelog](https://github.com/github/vscode-codeql/blob/main/extensions/ql-vscode/CHANGELOG.md).
8
8
9
9
[](https://github.com/github/vscode-codeql/actions?query=workflow%3A%22Build+Extension%22+branch%3Amaster)
Copy file name to clipboardExpand all lines: extensions/ql-vscode/CHANGELOG.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,21 @@
2
2
3
3
## [UNRELEASED]
4
4
5
+
- Send telemetry about unhandled errors happening within the extension. [#2125](https://github.com/github/vscode-codeql/pull/2125)
6
+
7
+
## 1.7.11 - 1 March 2023
8
+
9
+
- Enable collection of telemetry concerning interactions with UI elements, including buttons, links, and other inputs. [#2114](https://github.com/github/vscode-codeql/pull/2114)
10
+
- Prevent the automatic installation of CodeQL CLI version 2.12.3 to avoid a bug in the language server. CodeQL CLI 2.12.2 will be used instead. [#2126](https://github.com/github/vscode-codeql/pull/2126)
11
+
12
+
## 1.7.10 - 23 February 2023
13
+
14
+
- Fix bug that was causing unwanted error notifications.
15
+
16
+
## 1.7.9 - 20 February 2023
17
+
18
+
No user facing changes.
19
+
5
20
## 1.7.8 - 2 February 2023
6
21
7
22
- Renamed command "CodeQL: Run Query" to "CodeQL: Run Query on Selected Database". [#1962](https://github.com/github/vscode-codeql/pull/1962)
0 commit comments