File: Tests.hs

package info (click to toggle)
haskell-test-framework 0.8.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 196 kB
  • sloc: haskell: 1,112; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 425 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module Main where

import qualified Test.Framework.Tests.Runners.ThreadPool as TP
import qualified Test.Framework.Tests.Runners.XMLTests as XT

import Test.HUnit ( runTestTT, Test(TestList) )
import Test.QuickCheck ( quickCheck )

-- I wish I could use my test framework to test my framework...
main :: IO ()
main = do
    _ <- runTestTT $ TestList [
      TestList TP.tests,
      XT.test
      ]
    quickCheck XT.property