Skip to content

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.

License

Notifications You must be signed in to change notification settings

dcastro/vscode-haskell-test-runner

Repository files navigation

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.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published