commercialhaskell / commercialhaskell/stack

How to force stack to show the output from tests?

Open
#2,279 9 comments 0 reactions 0 assignees View on GitHub
component: output (UI/UX) type: discuss type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

Is there a way to make stack show the output from tests (even if they all pass), as was possible with cabal by invoking it with

`$ cabal test --show-details=always`

This has proven very useful with our GitLab CI tests, since one can tell at a glance from the test output if the complete test suite was run or if, for some reason, only a subset of the tests were run. In fact, our usual invocation of the tests was with

`$ cabal test --show-details=always --test-options="--color"`

A quick look to see if the log is all green is then enough.
The availability of this feature would let us move our CI infrastructure from cabal stack. Does it exist now, and I am simply reading the docs wrong, or does it need to be implemented?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.