Skip to content

Improve test setup#2058

Merged
koesie10 merged 8 commits intomainfrom
koesie10/improve-test-setup
Feb 15, 2023
Merged

Improve test setup#2058
koesie10 merged 8 commits intomainfrom
koesie10/improve-test-setup

Conversation

@koesie10
Copy link
Copy Markdown
Member

@koesie10 koesie10 commented Feb 8, 2023

Please review this commit-by-commit.

This creates a new test suite, updates the script names and updates the documentation. The new test suite is essentially the same as the CLI integration test suite, but does not require the CodeQL repository to be added to the workspace and is not run against multiple versions in CI.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

@koesie10 koesie10 added the secexp label Feb 8, 2023
@koesie10 koesie10 marked this pull request as ready for review February 8, 2023 14:16
@koesie10 koesie10 requested review from a team as code owners February 8, 2023 14:16
@koesie10 koesie10 mentioned this pull request Feb 10, 2023
3 tasks
Copy link
Copy Markdown
Contributor

@elenatanasoiu elenatanasoiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Copy link
Copy Markdown
Contributor

@charisk charisk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I started reviewing last week but got distracted!

Some comments - mostly questions.

Comment thread extensions/ql-vscode/test/vscode-tests/jest.activated-extension.setup.ts Outdated
Comment thread CONTRIBUTING.md Outdated
Comment thread CONTRIBUTING.md Outdated
The test database is not required for activated extension tests, so we
only need to download the test database for CLI integration tests.
This would run the unit, view, integration and CLI integration tests in
parallel, which would cause problems with multiple VSCode instances and
use a lot of memory.
@koesie10 koesie10 merged commit b20aeb3 into main Feb 15, 2023
@koesie10 koesie10 deleted the koesie10/improve-test-setup branch February 15, 2023 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants