1 # haskell-lsp-test [![Build Status](https://travis-ci.com/Bubba/haskell-lsp-test.svg?branch=master)](https://travis-ci.com/Bubba/haskell-lsp-test)
2 This is the functional testing framework for [haskell-ide-engine](https://github.com/haskell/haskell-ide-engine), and potentially any other Language Server Protocol server.
5 runSession "session/root/dir" $ do
6 doc <- openDoc "foo.hs" "haskell"
10 sendRequest TextDocumentDocumentSymbol (DocumentSymbolParams doc)
12 rspSymbols <- response :: DocumentSymbolsResponse
13 let (List symbols) = fromJust (rspSymbols ^. result)