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 It's currently used for testing in <https://github.com/haskell/haskell-ide-engine haskell-ide-engine>.
11 homepage: https://github.com/bubba/lsp-test#readme
15 maintainer: luke_lau@icloud.com
16 bug-reports: https://github.com/bubba/lsp-test/issues
17 copyright: 2019 Luke Lau
21 extra-source-files: README.md
23 tested-with: GHC == 8.2.2 , GHC == 8.4.2 , GHC == 8.4.3, GHC == 8.6.4, GHC == 8.6.5, GHC == 8.8.1, GHC == 8.10.1
25 source-repository head
27 location: https://github.com/bubba/lsp-test/
30 Description: Build the dummy server executable used in testing
36 exposed-modules: Language.Haskell.LSP.Test
37 , Language.Haskell.LSP.Test.Replay
38 reexported-modules: haskell-lsp:Language.Haskell.LSP.Types
39 , haskell-lsp:Language.Haskell.LSP.Types.Capabilities
40 , parser-combinators:Control.Applicative.Combinators
41 default-language: Haskell2010
42 build-depends: base >= 4.10 && < 5
43 , haskell-lsp >= 0.22 && < 0.23
50 , conduit-parse == 0.2.*
58 , parser-combinators >= 1.2
62 , unordered-containers
67 other-modules: Language.Haskell.LSP.Test.Compat
68 Language.Haskell.LSP.Test.Decoding
69 Language.Haskell.LSP.Test.Exceptions
70 Language.Haskell.LSP.Test.Files
71 Language.Haskell.LSP.Test.Messages
72 Language.Haskell.LSP.Test.Parsing
73 Language.Haskell.LSP.Test.Server
74 Language.Haskell.LSP.Test.Session
77 executable dummy-server
79 hs-source-dirs: test/dummy-server
81 build-depends: base >= 4.10 && < 5
85 , unordered-containers
86 default-language: Haskell2010
92 type: exitcode-stdio-1.0
96 build-depends: base >= 4.10 && < 5
99 , haskell-lsp >= 0.22 && < 0.23
103 , unordered-containers
107 default-language: Haskell2010
108 build-tool-depends: lsp-test:dummy-server