An ESpec formatter for the JUnit XML format
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
.gitignore
README.md
mix.exs
mix.lock

README.md

ESpec.JUnitFormatter

ESpec formatter for the JUnit XML format

Installation

Add espec_junit_formatter to your list of dependencies in mix.exs:

def deps do
  [{:espec_junit_formatter, "~> 0.1.1"}]
end

Usage

To use this formatter, add this to your spec_helper.exs file:

ESpec.configure fn(config) ->
  config.formatters [
    {ESpec.JUnitFormatter, %{out_path: "some/path/junit.xml"}}
  ]
end

Acknowledgements

This draws heavily from victorolinasc/junit-formatter