purescript-spec-reporter-xunit is a reporter for purescript-spec that outputs Xunit reports consumable by Jenkins (perhaps others as well?).
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
...
If you have any issues or possible improvements please file them as GitHub Issues. Pull requests requests are encouraged.