Closed
Description
I don't know if this could make sense for detailed
, but for exitcode-stdio
I find myself trying to run them with cabal run
which fails with cabal: Couldn't find any executables.
.
You can of course specify which test-suite to run with cabal test
but:
- To pass in options to the executable you have to use
--test-option[s]
which is much clunkier than what you do withcabal run
. - By default you don't get to see the output unless the test failed, or you manually view the log file.
- Even with
--show-details=always
(again, clunky) this just prints the log file at the end, which means you don't get to see it until the whole test has completed, and you get no colors or progress bars if your test framework does that.
So I either have to do cabal build test && ./dist/build/test/test
which is clunky, or cabal repl test
and :main
which means interpreted and can be really slow for things like quickcheck properties.
It's the small things. :-)