Skip to content

(Optional) Language server protocol tests without VS Code #135

Description

@CatarinaGamboa

Why: when an integration test fails, it isn't clear whether the server or the client broke. Talking to the server over LSP directly separates the two, runs faster, and needs no display. It overlaps with #131, so only do this if integration failures turn out hard to diagnose.

What: start the server JAR, connect with vscode-jsonrpc, send initialize, didOpen and liquidjava/verify, then check the liquidjava/diagnostics notification for the passing and failing fixtures.

References:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingTesting related

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions