Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add end to end extension to language server testing (#1739)
This commit adds end to end extension testing by migrating to vscode-cli and addin new test files to cover completion, go to definition, references, symbols, hover and code actions. * Update @types/node to 18.x * Migrate to vscode-test cli * Move test fixture files * End to end testing for completion, references and definitions * bump terraform version * Add snippets to completion on 1.82 * recommend vscode test runner for in IDE testing This adds the following tests: - Completions - Root document completion - Completion for a local module sources (prefix ./) - Completion for inputs of a local module - Completion of the variable name inside the tfvars file - Go to Definition - Go-to-definition on a local module source - Go-to-definition on a module input - Go-to-definition on a var.something reference - Go-to-definition on the variable name inside tfvars - References - Find module references - Find references on the variable block - Symbols - Basic symbol return - Hover - core schema provides docs - Code actions - formats the document Note: 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.
- Loading branch information