OpenLiberty / liberty-tools-vscode

Visual Studio Code extension for Liberty Tools
https://marketplace.visualstudio.com/items?itemName=Open-Liberty.liberty-dev-vscode-ext
Eclipse Public License 2.0
17 stars 32 forks source link

Automated integration testing for Liberty language server client capabilities #124

Open kathrynkodama opened 2 years ago

kathrynkodama commented 2 years ago

Automated testing for LCLS language features (server.xml, server.env, bootstrap.properties). Full list of features here: https://github.com/OpenLiberty/liberty-language-server#features

Depends on #115 and #63

Use FVT Overview as a guide on what test coverage is required, specifically the Liberty Config LS integration section.

Use VS Code FVT plan as a guide for steps to use for writing the tests, specifically steps 3a-3d.

kathrynkodama commented 1 year ago

We don't need to be as extensive as the automated tests on the Liberty Language Server repository, more emphasis on the language client capabilities themselves, for example:

  1. The Liberty language server is activating on the correct files: https://github.com/OpenLiberty/liberty-language-server#supported-files
  2. Completion, hover, diagnostics on bootstrap.properties
  3. Completion, hover, diagnostics on server.env
  4. Completion, hover, diagnostics on server.xml files

See explanations of 2-4 here: https://github.com/OpenLiberty/liberty-language-server#features