6

I’m looking for some examples or well-documented readings that describe how to use the Distribution.TestSuite. The current haddock documentation is quite poor and so is the userguide. I want to write tests for a project and run them through cabal. I do not want the exitcode-stdio-1.0 test interface.

Any clue?

phaazon
  • 1,972
  • 15
  • 21

1 Answers1

2

As far as I'm aware, you're trying to use the detailed-1.0 interface, but this is still not really ready for usage. There's a question from late 2011 about this, but sadly I don't think things have changed - Cabal Test Suite with type detailed example.

Is there any reason you don't want to use exitcode-stdio?

Community
  • 1
  • 1
ocharles
  • 6,172
  • 2
  • 35
  • 46