@hackage tasty-test-reporter0.1.1.4

Producing JUnit-style XML test reports.

tasty-test-reporter

An ingredient for tasty that prints a summary and outputs junit xml that works with jenkins.

output from reporter

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"