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.LSP.Test@ launches your server as a subprocess and allows you to simulate a session
8 down to the wire, and @Language.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, GHC == 8.10.2
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.LSP.Test
39 reexported-modules: lsp-types:Language.LSP.Types
40 , lsp-types:Language.LSP.Types.Capabilities
41 , parser-combinators:Control.Applicative.Combinators
42 default-language: Haskell2010
43 build-depends: base >= 4.10 && < 5
52 , conduit-parse == 0.2.*
58 , Glob >= 0.9 && < 0.11
61 , parser-combinators >= 1.2
65 , unordered-containers
71 other-modules: Language.LSP.Test.Compat
72 Language.LSP.Test.Decoding
73 Language.LSP.Test.Exceptions
74 Language.LSP.Test.Files
75 Language.LSP.Test.Parsing
76 Language.LSP.Test.Server
77 Language.LSP.Test.Session
80 executable dummy-server
82 hs-source-dirs: test/dummy-server
84 build-depends: base >= 4.10 && < 5
87 , unordered-containers
92 default-language: Haskell2010
98 type: exitcode-stdio-1.0
102 build-depends: base >= 4.10 && < 5
109 , unordered-containers
113 default-language: Haskell2010
114 build-tool-depends: lsp-test:dummy-server