Browse Source

Add junit-xml output for tests

master
Alex Feldman-Crough 1 year ago
parent
commit
978b4d629f
  1. 1
      prosidy.cabal
  2. 6
      test/Prosidy/Test.hs

1
prosidy.cabal

@ -105,6 +105,7 @@ test-suite prosidy-test
, directory >= 1.3 && < 1.4
, filepath >= 1.4 && < 1.5
, tasty >= 1.2 && < 1.3
, tasty-ant-xml >= 1.1 && < 1.2
, tasty-golden >= 2.3 && < 2.4
, tasty-hunit >= 0.10 && < 1.11
, tasty-quickcheck >= 0.10 && < 0.11

6
test/Prosidy/Test.hs

@ -1,11 +1,13 @@
import Test.Tasty
-- import qualified Prosidy.Test.Prosidy
import Test.Tasty.Runners.AntXML (antXMLRunner)
import qualified Prosidy.Test.Source
import qualified Prosidy.Test.Types
import qualified Prosidy.Test.Parse
main :: IO ()
main = defaultMain =<< tests
main = tests >>= defaultMainWithIngredients
[ antXMLRunner
]
tests :: IO TestTree
tests = do

Loading…
Cancel
Save