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:
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, sendinitialize,didOpenandliquidjava/verify, then check theliquidjava/diagnosticsnotification for the passing and failing fixtures.References: