hspec-junit-formatter-1.0.2.0: A JUnit XML runner/formatter for hspec
Safe HaskellNone
LanguageHaskell2010

Test.Hspec.JUnit.Config

Synopsis

Documentation

Construction

defaultJUnitConfig :: Text -> JUnitConfig Source #

Construct a JUnitConfig given a suite name

See individual set functions for defaults.

setJUnitConfigOutputDirectory :: FilePath -> JUnitConfig -> JUnitConfig Source #

Set the directory within which to generate the report

Default is current working directory.

setJUnitConfigOutputName :: FilePath -> JUnitConfig -> JUnitConfig Source #

Set the name for the generated report

Default is junit.xml.

setJUnitConfigOutputFile :: FilePath -> JUnitConfig -> JUnitConfig Source #

Set the full path to the generated report

If given, the directory and name configurations are ignored.

Use

getJUnitConfigOutputFile :: JUnitConfig -> FilePath Source #

Retrieve the full path to the generated report

getJUnitConfigSuiteName :: JUnitConfig -> Text Source #

Retrieve the suite name given on construction