How to use HUnit and Cabal to do Automated Testing?
问题 I've been fighting with Cabal for a good portion of a day trying to make its automated testing features work with HUnit. I've read the documentation here and here, and I have my Test-Suite section set up like it shows, but whenever I try and build the package using cabal build Cabal says that the only Test-Suite type supported is exitcode-stdio-1.0 . What gives? 回答1: Background So here's the deal, the documentation on the cabal site is "future documentation," that is, not all of those