15

There's an incredible lack of decent documentation on HTF. All I could find was a Tutorial which doesn't provide any of the following really important information:

  1. How do I create a test suite that automatically executes all tests from packages?
  2. What exactly are those "Black box tests" of HTF and how do I create them?
  3. What are the actual standards of setting up a test suite based on HTF (source root, packages and modules structure, cabal)?
Niklas B.
  • 92,950
  • 18
  • 194
  • 224
Nikita Volkov
  • 42,792
  • 11
  • 94
  • 169
  • 1
    A nice canonical example package would be good. I looked through a bunch of Haskell projects on Github (maybe not the best source, but still...) to see how they did tests, and *everybody* did it at least a little differently. – Tikhon Jelvis Jan 19 '12 at 03:04
  • I would contact the author of the package. – jberryman Jan 19 '12 at 03:07
  • @jberryman I actually did and pointed him to this question. I guess we'll have to wait. – Nikita Volkov Jan 19 '12 at 03:59
  • 3
    Sorry for such a late reply, but I've seen this thread here only lately. The new release 0.9.0.0 of HTF now comes with quite a lot of documentation. Also, I moved development to https://github.com/skogsbaer/HTF/. I hope this will make it easier for people to use HTF and to ask questions about HTF. Feel free to do so! – stefanwehr Sep 26 '12 at 21:58
  • @stefanwehr Thanks! Please post your comment as answer so I can accept it. – Nikita Volkov Sep 27 '12 at 00:33
  • @NikitaVolkov That's what I've done now, I just wanted to wait until hackage generated the API documentation. – stefanwehr Sep 27 '12 at 08:40

1 Answers1

7

The new release 0.9.0.0 of HTF (see http://hackage.haskell.org/package/HTF-0.9.0.0 and https://github.com/skogsbaer/HTF/) hopefully answers all your questions. I'll summarize:

stefanwehr
  • 390
  • 2
  • 7