pandoc/tests/test-pandoc.hs

29 lines
766 B
Haskell
Raw Normal View History

{-# OPTIONS_GHC -Wall #-}
module Main where
import Test.Framework
2011-01-12 19:10:56 +01:00
import qualified Tests.Old
import qualified Tests.Readers.LaTeX
2011-01-27 07:09:09 +01:00
import qualified Tests.Readers.Markdown
2011-01-26 18:10:39 +01:00
import qualified Tests.Readers.RST
import qualified Tests.Writers.ConTeXt
2011-01-22 21:28:30 +01:00
import qualified Tests.Writers.Native
tests :: [Test]
2011-01-12 19:10:56 +01:00
tests = [ testGroup "Old" Tests.Old.tests
, testGroup "Writers"
[ testGroup "Native" Tests.Writers.Native.tests
, testGroup "ConTeXt" Tests.Writers.ConTeXt.tests
]
, testGroup "Readers"
[ testGroup "LaTeX" Tests.Readers.LaTeX.tests
2011-01-27 07:09:09 +01:00
, testGroup "Markdown" Tests.Readers.Markdown.tests
2011-01-26 18:10:39 +01:00
, testGroup "RST" Tests.Readers.RST.tests
]
]
main :: IO ()
main = defaultMain tests