Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dcastro/vscode-haskell-test-runner
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.
https://github.com/dcastro/vscode-haskell-test-runner
haskell vscode vscode-extension
Last synced: about 1 month ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/dcastro/vscode-haskell-test-runner
- Owner: dcastro
- License: mit
- Created: 2017-12-22T19:33:30.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-18T20:01:25.000Z (about 7 years ago)
- Last Synced: 2024-11-10T17:02:50.870Z (3 months ago)
- Topics: haskell, vscode, vscode-extension
- Language: TypeScript
- Homepage:
- Size: 189 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.txt
Awesome Lists containing this project
README
# 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](https://raw.githubusercontent.com/dcastro/vscode-haskell-test-runner/master/img/screenshot.png)
## Installation
* This works on [`stack`][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][julien] for letting me reuse part of his code for interacting with intero and for his great work with [Haskero][haskero].
[stack]: https://docs.haskellstack.org/en/stable/install_and_upgrade/
[julien]: https://twitter.com/vavans
[haskero]: https://gitlab.com/vannnns/haskero