X-Git-Url: http://git.lukelau.me/?a=blobdiff_plain;f=lsp-test.cabal;h=ce2753de3616118171297a8819d4287da79806a7;hb=refs%2Fheads%2Ftravis-windows;hp=fc20dc7b07f1cd33ad6c7cb2af46adb92439b312;hpb=eb0bcf9d96d80c05eab5e8bf01e376bfb5df85d8;p=lsp-test.git diff --git a/lsp-test.cabal b/lsp-test.cabal index fc20dc7..ce2753d 100644 --- a/lsp-test.cabal +++ b/lsp-test.cabal @@ -1,35 +1,31 @@ name: lsp-test -version: 0.1.0.0 +version: 0.5.0.2 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 -homepage: https://github.com/Bubba/haskell-lsp-test#readme + @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 author: Luke Lau maintainer: luke_lau@icloud.com stability: experimental -bug-reports: https://github.com/Bubba/haskell-lsp-test/issues +bug-reports: https://github.com/bubba/haskell-lsp-test/issues copyright: 2018 Luke Lau category: Testing build-type: Simple cabal-version: 2.0 extra-source-files: README.md + , ChangeLog.md tested-with: GHC == 8.2.2 , GHC == 8.4.2 , GHC == 8.4.3 source-repository head type: git - location: https://github.com/Bubba/haskell-lsp-test/ + location: https://github.com/bubba/haskell-lsp-test/ library hs-source-dirs: src @@ -40,7 +36,7 @@ library , parser-combinators:Control.Applicative.Combinators default-language: Haskell2010 build-depends: base >= 4.7 && < 5 - , haskell-lsp >= 0.5 + , haskell-lsp >= 0.8 && < 0.9 , aeson , aeson-pretty , ansi-terminal @@ -82,9 +78,9 @@ test-suite tests build-depends: base >= 4.7 && < 5 , hspec , lens - , data-default - , haskell-lsp >= 0.5 + , haskell-lsp >= 0.8 && < 0.9 , lsp-test + , data-default , aeson , unordered-containers , text