pytest-lsp v0.3.1 - 2023-10-06
github-actions
released this
06 Oct 21:58
·
175 commits
to develop
since this release
v0.3.1 - 2023-10-06
This release includes some minor breaking changes if you were using the lower-level APIs e.g make_client_server.
See this commit for a sample migration
Enhancements
- pytest-lsp's LanguageClient is now based on the one provided by pygls. The main benefit is that the server connection is now based on an asyncio.subprocess.Process removing the need for pytest-lsp to constantly check to see if the server is still running. (#61)
- Fixtures created with the @pytest_lsp.fixture decorator can now request additional pytest fixtures (#71)
- It is now possible to set the environment variables that the server under test is launched with. (#72)
- It is now possible to test any JSON-RPC based server with pytest-lsp. Note however, this support will only ever extend to managing the client-server connection. (#73)