Description
Producing JUnit-style XML test reports.
Description
Please see the README at https://github.com/stoeffel/tasty-test-reporter.
README.md
tasty-test-reporter
An ingredient for tasty that prints a summary and outputs junit xml that works with jenkins.
Setting up this ingredient for tasty.
import Test.Tasty
import Test.Tasty.HUnit
import qualified Test.Tasty.Runners.Reporter as Reporter
main = defaultMainWithIngredients [Reporter.ingredient] tests
tests :: TestTree
Running tests with cabal
$ cabal test --test-show-details=always --test-options "--xml=report.xml"