But using the test suite (stack test) results in a lot of errors (not-in-scope errors indicating the modules under test are not being loaded…). I haven't tried with cabal, but it fails there too (#218).
Maybe we need to rewrite tests/DocTest.hs or the test-suite in dimensional.cabal according to latest best practices?
It seems the doctests (more specifically the way the test suite is set up) are more generally broken. This works:
$ stack exec doctest src -- -XNoStarIsType Examples: 181 Tried: 181 Errors: 0 Failures: 0
But using the test suite (stack test) results in a lot of errors (not-in-scope errors indicating the modules under test are not being loaded…). I haven't tried with cabal, but it fails there too (#218).
Maybe we need to rewrite tests/DocTest.hs or the test-suite in dimensional.cabal according to latest best practices?