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] 1.0.0.0, 1.0.0.1, 1.0.0.2, 1.0.0.4
Change log CHANGELOG.md
Dependencies base (>=4.14.1.0 && <5), conduit (>=1.3.4.1), directory (>=1.3.6.0), exceptions (>=0.10.4), hashable (>=1.3.0.0), hspec (>=2.7.8), hspec-core (>=2.7.8), resourcet (>=1.2.4.2), temporary (>=1.3), text (>=1.2.4.1), xml-conduit (>=1.9.1.0), 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:1.0.0.2, Stackage:1.0.0.4
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]

Modules

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for hspec-junit-formatter-1.0.0.4

[back to package description]

hspec-junit-formatter

A JUnit XML runner/formatter for hspec.

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