vscode-codeql/extensions/ql-vscode/test/data
Andrew Eisenberg 16eac45822 Add integration tests with the CLI
This commit adds integration tests that run commands using the CLI. This
change introduces a number of enhancements in order to get there.

1. Augments the index-template.ts file so that it downloads an
appropriate cli version if requested.
2. Adds the ensureCli.ts that performs the download if a a suitable
version is not already installed. See the comments in the file for how
this is done.
3. Changes how run-integration-tests is done so that the directories
run are specified through a cli argument.
4. Updates the main.yml workflow so that it also runs the
cli-integration tests.
5. Takes advantage of the return value of the call to `activate` on the
extension. This allows the integration tests to have access to internal
variables of the extension like the context, cli, and query server.
6. And of course, adds a handful of simple tests that ensure we have a
cli installed of the correct version.
2020-12-04 10:08:15 -08:00
..
.gitignore Add integration tests with the CLI 2020-12-04 10:08:15 -08:00
compute-default-strings.ql Add query running test for computeDefaultStrings flag 2020-12-01 14:31:39 -08:00
library.qll Fix syntax error in ql library 2020-05-26 12:01:22 -07:00
multiple-result-sets.ql CodeQL for VS Code: Initial commit. 2019-11-13 12:23:53 -08:00
query.ql CodeQL for VS Code: Initial commit. 2019-11-13 12:23:53 -08:00
test.dbscheme CodeQL for VS Code: Initial commit. 2019-11-13 12:23:53 -08:00
test.dbscheme.stats CodeQL for VS Code: Initial commit. 2019-11-13 12:23:53 -08:00