I have a Haskell package I've installed from Hackage, using cabal
and would like to run the tests suites that are part of the package, but it isn't clear to me from the cabal
documentation how to do this.
I've tried:
cabal install --reinstall --enable-tests --run-tests the-package
and its various combinations and permutations, but no tests seem to run: I get no report about the test running, and none of the output that I know the test should produce is generated.
How do I run the tests that are part of an installed cabal
package, or a package that I'm in the process of installing?
cabal test the-package
? – VanhomrighPackage has never been configured. Configuring with default flags. If this fails, please run configure manually. cabal: No cabal file found. Please create a package description file <pkgname>.cabal
– Sosthenna