3 synopsis: Functional test framework for LSP servers.
5 A test framework for writing tests against
6 <https://microsoft.github.io/language-server-protocol/ Language Server Protocol servers>.
7 @Language.Haskell.LSP.Test@ launches your server as a subprocess and allows you to simulate a session
8 down to the wire, and @Language.Haskell.LSP.Test@ can replay captured sessions from
9 <haskell-lsp https://hackage.haskell.org/package/haskell-lsp>.
10 To see examples of it in action, check out <https://github.com/haskell/haskell-ide-engine haskell-ide-engine>,
11 <https://github.com/haskell/haskell-language-server haskell-language-server> and
12 <https://github.com/digital-asset/ghcide ghcide>.
13 homepage: https://github.com/bubba/lsp-test#readme
17 maintainer: luke_lau@icloud.com
18 bug-reports: https://github.com/bubba/lsp-test/issues
19 copyright: 2020 Luke Lau
23 extra-source-files: README.md
25 tested-with: GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.3, GHC == 8.10.1
27 source-repository head
29 location: https://github.com/bubba/lsp-test/
32 Description: Build the dummy server executable used in testing
38 exposed-modules: Language.Haskell.LSP.Test
39 , Language.Haskell.LSP.Test.Replay
40 reexported-modules: haskell-lsp:Language.Haskell.LSP.Types
41 , haskell-lsp:Language.Haskell.LSP.Types.Capabilities
42 , parser-combinators:Control.Applicative.Combinators
43 default-language: Haskell2010
44 build-depends: base >= 4.10 && < 5
45 , haskell-lsp >= 0.22 && < 0.24
53 , conduit-parse == 0.2.*
59 , Glob >= 0.9 && < 0.11
62 , parser-combinators >= 1.2
66 , unordered-containers
72 other-modules: Language.Haskell.LSP.Test.Compat
73 Language.Haskell.LSP.Test.Decoding
74 Language.Haskell.LSP.Test.Exceptions
75 Language.Haskell.LSP.Test.Files
76 Language.Haskell.LSP.Test.Parsing
77 Language.Haskell.LSP.Test.Server
78 Language.Haskell.LSP.Test.Session
81 executable dummy-server
83 hs-source-dirs: test/dummy-server
85 build-depends: base >= 4.10 && < 5
86 , haskell-lsp >= 0.23 && < 0.24
89 , unordered-containers
92 default-language: Haskell2010
98 type: exitcode-stdio-1.0
102 build-depends: base >= 4.10 && < 5
105 , haskell-lsp >= 0.22 && < 0.24
109 , unordered-containers
113 default-language: Haskell2010
114 build-tool-depends: lsp-test:dummy-server