derive icon indicating copy to clipboard operation
derive copied to clipboard

Use cabal's test-suite section

Open Fuuzetsu opened this issue 10 years ago • 2 comments

It'd be great if the package could use cabal-supported tests: the existing way is quite inconvenient to run and cabal is not informed about the test dependencies that we need (json, QuickCheck, binarydefer, cereal). It also makes it very difficult to test the project inside a cabal sandbox.

Fuuzetsu avatar Mar 13 '14 20:03 Fuuzetsu

Agreed, that would be useful. I haven't done any significant work on the tests in derive in a long time, I think when I wrote them we didn't even have the test mechanism, which is why it doesn't currently use that.

ndmitchell avatar Mar 13 '14 20:03 ndmitchell

I have modified the Travis buildbot to run the generator test, which does work - running travis.sh is probably sufficient for the moment, but a proper cabal test would be better (although I'm not sure if calling GHC itself during the test suite is encouraged).

ndmitchell avatar Mar 17 '14 11:03 ndmitchell