stoeffel / tasty-test-reporter

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

Home Page:https://hackage.haskell.org/package/tasty-test-reporter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"

About

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

https://hackage.haskell.org/package/tasty-test-reporter

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 89.6%Language:Nix 8.5%Language:Shell 1.9%