@hackage / tasty-test-reporter

Producing JUnit-style XML test reports.

Latest0.1.1.4

About

Metadata

  • Last updated , by JasperWoudenberg
  • License BSD-3-Clause
  • Categories Testing
  • Maintained by: schtoeffel@gmail.com

  • Lottery factor: 0

Links

Installation

Readme

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"