tasty-ant-xml-1.1.1: Render tasty output to XML for Jenkins

Safe HaskellNone
LanguageHaskell98

Test.Tasty.Runners.AntXML

Description

Run a TestTree and produce an XML file summarising the test results in the same schema that would be produced by Apache Ant's JUnit test runner. This schema can be intepreted by the Jenkins continuous integration server, amongst other tools.

Synopsis

Documentation

antXMLRunner :: Ingredient Source #

To run tests using this ingredient, use defaultMainWithIngredients, passing antXMLRunner as one possible ingredient. This ingredient will run tests if you pass the --xml command line option. For example, --xml=junit.xml will run all the tests and generate junit.xml as output.