dhall-lsp-server: Document the integration tests gotcha (#1506)

Context: https://github.com/dhall-lang/dhall-haskell/pull/1483#issuecomment-548954080
This commit is contained in:
Simon Jakobi 2019-11-02 05:00:32 +01:00 committed by mergify[bot]
parent 1b46f1885f
commit 5c0c1f4e77
1 changed files with 8 additions and 0 deletions

View File

@ -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.