How to run only one ghcide test? #2837
-
The contributing docs give an example of how to run only one test in HLS functional tests: cabal run haskell-language-server:func-test -- -p "hlint enables" But for ghcide tests this does not work: cd ghcide
cabal run ghcide:ghcide-tests -- -p "/completion/"
# ghcide
# initialize response capabilities
# completion: FAIL
# Exception: ghcide: createProcess: posix_spawnp: does not exist (No such file or directory)
# Use -p '/completion/&&/ completion/' to rerun this test only. The result is the same when using the test binary directly. Is running only one test supported? |
Beta Was this translation helpful? Give feedback.
Answered by
pepeiborra
Apr 18, 2022
Replies: 1 comment
-
This guidance is flawed. The right way to run one test is:
And for ghcide:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pepeiborra
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This guidance is flawed. The right way to run one test is:
And for ghcide: