From 5c0c1f4e778b98e3b2d897f9312f3b2c3c31bff1 Mon Sep 17 00:00:00 2001 From: Simon Jakobi Date: Sat, 2 Nov 2019 05:00:32 +0100 Subject: [PATCH] dhall-lsp-server: Document the integration tests gotcha (#1506) Context: https://github.com/dhall-lang/dhall-haskell/pull/1483#issuecomment-548954080 --- dhall-lsp-server/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dhall-lsp-server/README.md b/dhall-lsp-server/README.md index c3991bc..d4cfae5 100644 --- a/dhall-lsp-server/README.md +++ b/dhall-lsp-server/README.md @@ -87,3 +87,11 @@ See [`dhall-haskell` - `README`](https://github.com/dhall-lang/dhall-haskell/blo 2. Use `npm install -g vsce` to install the *vsce* executable. 3. Run `vsce package` inside the git repo to package the extension, resulting in a file `vscode-dhall-lsp-server-x.x.x.vsix`. 4. You can install the packaged extension directly by opening the `.vsix` file from within VSCod/ium. + +**Integration tests** + +The `dhall-lsp-server:tests` testsuite depends on the `dhall-lsp-server` executable. Since `stack` isn't aware of this dependency, `stack test dhall-lsp-server:tests` may use an old executable version. Run these tests with + + stack test dhall-lsp-server:tests dhall-lsp-server:dhall-lsp-server + +to ensure that the executable is up-to-date.