X-Git-Url: http://git.lukelau.me/?a=blobdiff_plain;f=lsp-test.cabal;h=8c64b50cb71d5cde6af29c7239b42dcacc4c7348;hb=4c5ad9975b44f2a0482d98c1e67f2de78e7dd0ca;hp=fc20dc7b07f1cd33ad6c7cb2af46adb92439b312;hpb=eb0bcf9d96d80c05eab5e8bf01e376bfb5df85d8;p=opengl.git diff --git a/lsp-test.cabal b/lsp-test.cabal index fc20dc7..8c64b50 100644 --- a/lsp-test.cabal +++ b/lsp-test.cabal @@ -4,15 +4,10 @@ synopsis: Functional test framework for LSP servers. description: A test framework for writing tests against . - @lsp-test@ launches your server as a subprocess and allows you to simulate a session - down to the wire. - Used for testing in . - > runSession "hie" fullCaps "path/to/root/dir" $ do - > doc <- openDoc "Desktop/simple.hs" "haskell" - > diags <- waitForDiagnostics - > let pos = Position 12 5 - > params = TextDocumentPositionParams doc - > hover <- request TextDocumentHover params + @Language.Haskell.LSP.Test@ launches your server as a subprocess and allows you to simulate a session + down to the wire, and @Language.Haskell.LSP.Test@ can replay captured sessions from + . + It's currently used for testing in . homepage: https://github.com/Bubba/haskell-lsp-test#readme license: BSD3 license-file: LICENSE @@ -40,7 +35,7 @@ library , parser-combinators:Control.Applicative.Combinators default-language: Haskell2010 build-depends: base >= 4.7 && < 5 - , haskell-lsp >= 0.5 + , haskell-lsp >= 0.6 , aeson , aeson-pretty , ansi-terminal @@ -83,7 +78,7 @@ test-suite tests , hspec , lens , data-default - , haskell-lsp >= 0.5 + , haskell-lsp >= 0.6 , lsp-test , aeson , unordered-containers