Package

purescript-spec-reporter-xunit

Repository
owickstrom/purescript-spec-reporter-xunit
License
MIT
Uploaded by
owickstrom
Published on
2019-09-05T05:38:11Z

purescript-spec-reporter-xunit is a reporter for purescript-spec that outputs Xunit reports consumable by Jenkins (perhaps others as well?).

Usage

bower install purescript-spec-reporter-xunit
module Main where

import Prelude

import Data.Identity (Identity(..))
import Data.Newtype (un)
import Test.Spec.Reporter.Xunit (defaultOptions, xunitReporter)
import Test.Spec.Runner (defaultConfig, runSpecT)

main =
  void $ un Identity $ runSpecT defaultConfig [ xunitReporter { indentation: 2, outputPath: "output/test.xml" } ] do
    ...

Contribute

If you have any issues or possible improvements please file them as GitHub Issues. Pull requests requests are encouraged.

License

MIT License.