Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 563 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 563 Bytes

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"