https://github.com/purescript-spec/purescript-spec-reporter-xunit
A reporter for purescript-spec that outputs Xunit reports
https://github.com/purescript-spec/purescript-spec-reporter-xunit
Last synced: about 2 months ago
JSON representation
A reporter for purescript-spec that outputs Xunit reports
- Host: GitHub
- URL: https://github.com/purescript-spec/purescript-spec-reporter-xunit
- Owner: purescript-spec
- License: mit
- Created: 2015-05-19T17:44:37.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-07-20T22:28:06.000Z (almost 2 years ago)
- Last Synced: 2026-02-23T21:30:16.524Z (2 months ago)
- Language: PureScript
- Homepage:
- Size: 226 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# purescript-spec-reporter-xunit [](https://pursuit.purescript.org/packages/purescript-spec-reporter-xunit)
purescript-spec-reporter-xunit is a reporter for
[purescript-spec](https://github.com/purescript-spec/purescript-spec) that outputs
Xunit reports consumable by Jenkins (perhaps others as well?).
## Usage
```bash
spago install spec-reporter-xunit
```
```purescript
module Main where
import Prelude
import Test.Spec.Reporter.Xunit (xunitReporter)
import Test.Spec.Runner (defaultConfig, runSpec)
main =
runSpec [ xunitReporter { indentation: 2, outputPath: "output/test.xml" } ] do
...
```
## Contribute
If you have any issues or possible improvements please file them as
[GitHub Issues](https://github.com/purescript-spec/purescript-spec-reporter-xunit/issues).
Pull requests requests are encouraged.
## License
[MIT License](LICENSE.md).