atom-community / atom-languageclient

Provide integration support for adding Language Server Protocol servers to Atom.
https://www.npmjs.com/package/atom-languageclient
MIT License
45 stars 13 forks source link

Providing a test library for the clients #128

Open aminya opened 3 years ago

aminya commented 3 years ago

The tests in the atom-languageclient can be refactored and generalized as a language client test library (independent of an exact server). This will make it possible for the clients to test different features for their language server without writing all the tests from scratch.

To do this a couple of things should be done:

const testLSP = new TestLSP(DLanguageServer)



- The test should accept custom data as input and expected (e.g. autocomplete query and the expected value)