Skip to content

Providing a test library for the clients #128

@aminya

Description

@aminya

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:

  • The test should allow specifying the language server package
import { TestLSP } from "atom-languageclient"
import DLanguageServer from "../lib" 

const testLSP = new TestLSP(DLanguageServer)
  • The test should accept custom data as input and expected (e.g. autocomplete query and the expected value)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions