Skip to content

Commit 5c0c1f4

Browse files
sjakobimergify[bot]
authored andcommitted
dhall-lsp-server: Document the integration tests gotcha (#1506)
Context: #1483 (comment)
1 parent 1b46f18 commit 5c0c1f4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dhall-lsp-server/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,11 @@ See [`dhall-haskell` - `README`](https://github.com/dhall-lang/dhall-haskell/blo
8787
2. Use `npm install -g vsce` to install the *vsce* executable.
8888
3. Run `vsce package` inside the git repo to package the extension, resulting in a file `vscode-dhall-lsp-server-x.x.x.vsix`.
8989
4. You can install the packaged extension directly by opening the `.vsix` file from within VSCod/ium.
90+
91+
**Integration tests**
92+
93+
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
94+
95+
stack test dhall-lsp-server:tests dhall-lsp-server:dhall-lsp-server
96+
97+
to ensure that the executable is up-to-date.

0 commit comments

Comments
 (0)