hspec-junit-formatter: A JUnit XML runner/formatter for hspec

[ library, mit, testing ] [ Propose Tags ]

Allows hspec tests to write JUnit XML output for parsing in various tools.

[Skip to Readme]
Versions [faq],,,
Change log CHANGELOG.md
Dependencies base (>= && <5), conduit (>=, directory (>=, exceptions (>=0.10.4), hashable (>=, hspec (>=2.7.8), hspec-core (>=2.7.8), resourcet (>=, temporary (>=1.3), text (>=, xml-conduit (>=, xml-types (>=0.3.8) [details]
License MIT
Copyright 2021 Renaissance Learning Inc
Author Freckle R&D
Maintainer engineering@freckle.com
Category Testing
Home page https://github.com/freckle/hspec-junit-formatter#readme
Bug tracker https://github.com/freckle/hspec-junit-formatter/issues
Source repo head: git clone https://github.com/freckle/hspec-junit-formatter
Uploaded by PatrickBrisbin at 2021-05-13T19:57:58Z
Distributions NixOS:, Stackage:
Downloads 180 total (64 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2021-05-13 [all 3 reports]


  • Test
    • HSpec
      • Test.HSpec.JUnit
        • Test.HSpec.JUnit.Parse
        • Test.HSpec.JUnit.Render
        • Test.HSpec.JUnit.Schema


Maintainer's Corner

For package maintainers and hackage trustees

Readme for hspec-junit-formatter-

[back to package description]


A JUnit XML runner/formatter for hspec.

main :: IO ()
main = do
  config <- readConfig defaultConfig =<< getArgs
  spec `runJUnitSpec` ("output-dir", "my-tests-title") $ config