Skip to content

Support testing #817

Closed
Closed
@vlatkoB

Description

@vlatkoB

There seems to be no support for testing in haskell-mode. I tried this:

(defun haskell-process-cabal-repl-test ()
  (interactive)
  (setq haskell-process-args-cabal-repl '("test"))
  (haskell-process-load-or-reload)
  (setq haskell-process-args-cabal-repl '("--ghc-option=-ferror-spans" "--with-ghc=ghci-ng"))
 )

and can run tests.

What would be the proper way to implement it? Maybe also add the function to run a test at point?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions