---
name: "eunit_surefire"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:25.2.3+dfsg-1+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/eunit_surefire"
---

# eunit\_surefire(3erl)

Surefire reports for EUnit (Format used by Maven and Atlassian Bamboo for example to integrate test results).

## NAME

eunit\_surefire - Surefire reports for EUnit (Format used by Maven and Atlassian   Bamboo for example to integrate test results).

## DESCRIPTION

Surefire reports for EUnit (Format used by Maven and Atlassian Bamboo for example to integrate test results). Based on initial code from Paul Guyot.

Example: Generate XML result file in the current directory:

```
     eunit:test([fib, eunit_examples],
                [{report,{eunit_surefire,[{dir,"."}]}}]).
```

## EXPORTS

**handle\_begin(Kind, Data, St) -\> term()** \

**handle\_cancel(X1, Data, St) -\> term()** \

**handle\_end(X1, Data, St) -\> term()** \

**init(Options) -\> term()** \

**start() -\> term()** \

**start(Options) -\> term()** \

**terminate(X1, St) -\> term()** \

## SEE ALSO

eunit

## AUTHORS

Mickaël Rémond *\<mickael.remond@process-one.net\>*
