hashicorp / vscode-terraform

HashiCorp Terraform VSCode extension
https://marketplace.visualstudio.com/items?itemName=HashiCorp.terraform
Mozilla Public License 2.0
911 stars 180 forks source link

Add end to end extension to language server testing #1739

Closed jpogran closed 2 months ago

jpogran commented 2 months ago

Organizes and adds the following tests:

Migrate to vscode-cli

Removes the original test runner infrastructure and replaces it with vscode-cli, which is the new recommend testing approach. This helps simplify executing VS Code API tests and helps ensure terraform-ls is up and initialized before running tests.

Notes

We now have two test folders: src/test and test/specs, along with two fixtures folders: test/fixtures and testFixtures. This does not address combining them or moving them because the wdio tsconfig/npm packaging conflicts with the vscode ones.

github-actions[bot] commented 1 month ago

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.