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

[ bsd3, library, testing ] [ Propose Tags ]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

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.10 && <0.11), base (>=4.10.1.0 && <5), concurrent-output (>=1.10 && <1.11), containers (>=0.6 && <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.5 && <2.6), tagged (>=0.8 && <0.9), tasty (>=0.1 && <1.3), 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 stoeffel at 2020-02-11T09:56:31Z
Distributions
Reverse Dependencies 2 direct, 7 indirect [details]
Downloads 3409 total (34 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.0.0

[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"