tasty-test-reporter: Producing JUnit-style XML test reports.

[ bsd3, library, testing ] [ Propose Tags ]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.1.3, 0.1.1.4 (info)
Change log CHANGELOG.md
Dependencies ansi-terminal (>=0.8 && <0.12), base (>=4.10.1.0 && <5), concurrent-output (>=1.10 && <1.11), containers (>=0.5 && <0.7), directory (>=1.3 && <1.4), filepath (>=1.4 && <1.5), junit-xml (>=0.1 && <0.2), mtl (>=2.2 && <2.3), safe-exceptions (>=0.1 && <0.2), stm (>=2.4 && <2.6), tagged (>=0.8 && <0.9), tasty (>=0.1 && <1.5), text (>=1.2 && <1.3) [details]
License BSD-3-Clause
Copyright 2020 Christoph Hermann
Author Christoph Hermann
Maintainer schtoeffel@gmail.com
Category Testing
Home page https://github.com/stoeffel/tasty-test-reporter#readme
Bug tracker https://github.com/stoeffel/tasty-test-reporter/issues
Source repo head: git clone https://github.com/stoeffel/tasty-test-reporter
Uploaded by JasperWoudenberg at 2020-10-25T19:56:24Z
Distributions LTSHaskell:0.1.1.4, NixOS:0.1.1.4, Stackage:0.1.1.4
Downloads 2535 total (93 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for tasty-test-reporter-0.1.1.4

[back to package description]

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"