Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.13 KB

README.md

File metadata and controls

32 lines (19 loc) · 1.13 KB

Haskell Test Runner for VSCode (WIP)

A plugin for VSCode that lets you run your Hspec tests, either manually or automatically “on save”, and view the results without leaving the editor.

Screenshot showing code lenses

Installation

  • This works on stack projects only.
  • Install Intero in your project: stack build intero
  • Search for vscode-haskell-test-runner in VSCode's marketplace (not yet available)

Troubleshooting

  • cannot satisfy -package (package-name)

    You might have to run stack build --test once and then reload vscode.

Development

npm i && npm run compile

  • F5 to start debugging the client.
  • F1 > Debug: Select and Start Debugging > Attach to Server to debug the server

Credits

Thanks to Julien Vannesson for letting me reuse part of his code for interacting with intero and for his great work with Haskero.